@looker/sdk 24.14.0 → 24.16.2
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/CHANGELOG.md +40 -0
- package/README.md +66 -17
- package/lib/4.0/funcs.d.ts +4 -3
- package/lib/4.0/funcs.js +834 -818
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +4 -3
- package/lib/4.0/methods.js +556 -542
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +4 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +32 -3
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +437 -437
- package/lib/4.0/streams.js +557 -542
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +829 -813
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +556 -542
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +558 -543
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js +4 -3
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/extensionSdk.d.ts +3 -2
- package/lib/extensionSdk.js +4 -3
- package/lib/extensionSdk.js.map +1 -1
- package/package.json +3 -11
package/lib/esm/4.0/methods.js
CHANGED
|
@@ -1249,12 +1249,26 @@ export class Looker40SDK extends APIMethods {
|
|
|
1249
1249
|
}, null, options);
|
|
1250
1250
|
})();
|
|
1251
1251
|
}
|
|
1252
|
-
|
|
1252
|
+
content_summary(request, options) {
|
|
1253
1253
|
var _this164 = this;
|
|
1254
|
+
return _asyncToGenerator(function* () {
|
|
1255
|
+
return _this164.get('/content_summary', {
|
|
1256
|
+
fields: request.fields,
|
|
1257
|
+
limit: request.limit,
|
|
1258
|
+
offset: request.offset,
|
|
1259
|
+
target_group_id: request.target_group_id,
|
|
1260
|
+
target_user_id: request.target_user_id,
|
|
1261
|
+
target_content_type: request.target_content_type,
|
|
1262
|
+
sorts: request.sorts
|
|
1263
|
+
}, null, options);
|
|
1264
|
+
})();
|
|
1265
|
+
}
|
|
1266
|
+
content_thumbnail(request, options) {
|
|
1267
|
+
var _this165 = this;
|
|
1254
1268
|
return _asyncToGenerator(function* () {
|
|
1255
1269
|
request.type = encodeParam(request.type);
|
|
1256
1270
|
request.resource_id = encodeParam(request.resource_id);
|
|
1257
|
-
return
|
|
1271
|
+
return _this165.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1258
1272
|
reload: request.reload,
|
|
1259
1273
|
theme: request.theme,
|
|
1260
1274
|
format: request.format,
|
|
@@ -1264,17 +1278,17 @@ export class Looker40SDK extends APIMethods {
|
|
|
1264
1278
|
})();
|
|
1265
1279
|
}
|
|
1266
1280
|
content_validation(fields, options) {
|
|
1267
|
-
var
|
|
1281
|
+
var _this166 = this;
|
|
1268
1282
|
return _asyncToGenerator(function* () {
|
|
1269
|
-
return
|
|
1283
|
+
return _this166.get('/content_validation', {
|
|
1270
1284
|
fields
|
|
1271
1285
|
}, null, options);
|
|
1272
1286
|
})();
|
|
1273
1287
|
}
|
|
1274
1288
|
search_content_views(request, options) {
|
|
1275
|
-
var
|
|
1289
|
+
var _this167 = this;
|
|
1276
1290
|
return _asyncToGenerator(function* () {
|
|
1277
|
-
return
|
|
1291
|
+
return _this167.get('/content_view/search', {
|
|
1278
1292
|
view_count: request.view_count,
|
|
1279
1293
|
group_id: request.group_id,
|
|
1280
1294
|
look_id: request.look_id,
|
|
@@ -1292,33 +1306,33 @@ export class Looker40SDK extends APIMethods {
|
|
|
1292
1306
|
})();
|
|
1293
1307
|
}
|
|
1294
1308
|
vector_thumbnail(type, resource_id, reload, options) {
|
|
1295
|
-
var
|
|
1309
|
+
var _this168 = this;
|
|
1296
1310
|
return _asyncToGenerator(function* () {
|
|
1297
1311
|
type = encodeParam(type);
|
|
1298
1312
|
resource_id = encodeParam(resource_id);
|
|
1299
|
-
return
|
|
1313
|
+
return _this168.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1300
1314
|
reload
|
|
1301
1315
|
}, null, options);
|
|
1302
1316
|
})();
|
|
1303
1317
|
}
|
|
1304
1318
|
all_dashboards(fields, options) {
|
|
1305
|
-
var
|
|
1319
|
+
var _this169 = this;
|
|
1306
1320
|
return _asyncToGenerator(function* () {
|
|
1307
|
-
return
|
|
1321
|
+
return _this169.get('/dashboards', {
|
|
1308
1322
|
fields
|
|
1309
1323
|
}, null, options);
|
|
1310
1324
|
})();
|
|
1311
1325
|
}
|
|
1312
1326
|
create_dashboard(body, options) {
|
|
1313
|
-
var
|
|
1327
|
+
var _this170 = this;
|
|
1314
1328
|
return _asyncToGenerator(function* () {
|
|
1315
|
-
return
|
|
1329
|
+
return _this170.post('/dashboards', null, body, options);
|
|
1316
1330
|
})();
|
|
1317
1331
|
}
|
|
1318
1332
|
search_dashboards(request, options) {
|
|
1319
|
-
var
|
|
1333
|
+
var _this171 = this;
|
|
1320
1334
|
return _asyncToGenerator(function* () {
|
|
1321
|
-
return
|
|
1335
|
+
return _this171.get('/dashboards/search', {
|
|
1322
1336
|
id: request.id,
|
|
1323
1337
|
slug: request.slug,
|
|
1324
1338
|
title: request.title,
|
|
@@ -1343,95 +1357,95 @@ export class Looker40SDK extends APIMethods {
|
|
|
1343
1357
|
})();
|
|
1344
1358
|
}
|
|
1345
1359
|
import_lookml_dashboard(lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1346
|
-
var
|
|
1360
|
+
var _this172 = this;
|
|
1347
1361
|
return _asyncToGenerator(function* () {
|
|
1348
1362
|
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1349
1363
|
space_id = encodeParam(space_id);
|
|
1350
|
-
return
|
|
1364
|
+
return _this172.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1351
1365
|
raw_locale
|
|
1352
1366
|
}, body, options);
|
|
1353
1367
|
})();
|
|
1354
1368
|
}
|
|
1355
1369
|
sync_lookml_dashboard(lookml_dashboard_id, body, raw_locale, options) {
|
|
1356
|
-
var
|
|
1370
|
+
var _this173 = this;
|
|
1357
1371
|
return _asyncToGenerator(function* () {
|
|
1358
1372
|
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1359
|
-
return
|
|
1373
|
+
return _this173.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1360
1374
|
raw_locale
|
|
1361
1375
|
}, body, options);
|
|
1362
1376
|
})();
|
|
1363
1377
|
}
|
|
1364
1378
|
dashboard(dashboard_id, fields, options) {
|
|
1365
|
-
var
|
|
1379
|
+
var _this174 = this;
|
|
1366
1380
|
return _asyncToGenerator(function* () {
|
|
1367
1381
|
dashboard_id = encodeParam(dashboard_id);
|
|
1368
|
-
return
|
|
1382
|
+
return _this174.get("/dashboards/".concat(dashboard_id), {
|
|
1369
1383
|
fields
|
|
1370
1384
|
}, null, options);
|
|
1371
1385
|
})();
|
|
1372
1386
|
}
|
|
1373
1387
|
update_dashboard(dashboard_id, body, options) {
|
|
1374
|
-
var
|
|
1388
|
+
var _this175 = this;
|
|
1375
1389
|
return _asyncToGenerator(function* () {
|
|
1376
1390
|
dashboard_id = encodeParam(dashboard_id);
|
|
1377
|
-
return
|
|
1391
|
+
return _this175.patch("/dashboards/".concat(dashboard_id), null, body, options);
|
|
1378
1392
|
})();
|
|
1379
1393
|
}
|
|
1380
1394
|
delete_dashboard(dashboard_id, options) {
|
|
1381
|
-
var
|
|
1395
|
+
var _this176 = this;
|
|
1382
1396
|
return _asyncToGenerator(function* () {
|
|
1383
1397
|
dashboard_id = encodeParam(dashboard_id);
|
|
1384
|
-
return
|
|
1398
|
+
return _this176.delete("/dashboards/".concat(dashboard_id), null, null, options);
|
|
1385
1399
|
})();
|
|
1386
1400
|
}
|
|
1387
1401
|
dashboard_aggregate_table_lookml(dashboard_id, options) {
|
|
1388
|
-
var
|
|
1402
|
+
var _this177 = this;
|
|
1389
1403
|
return _asyncToGenerator(function* () {
|
|
1390
1404
|
dashboard_id = encodeParam(dashboard_id);
|
|
1391
|
-
return
|
|
1405
|
+
return _this177.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1392
1406
|
})();
|
|
1393
1407
|
}
|
|
1394
1408
|
dashboard_lookml(dashboard_id, options) {
|
|
1395
|
-
var
|
|
1409
|
+
var _this178 = this;
|
|
1396
1410
|
return _asyncToGenerator(function* () {
|
|
1397
1411
|
dashboard_id = encodeParam(dashboard_id);
|
|
1398
|
-
return
|
|
1412
|
+
return _this178.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1399
1413
|
})();
|
|
1400
1414
|
}
|
|
1401
1415
|
move_dashboard(dashboard_id, folder_id, options) {
|
|
1402
|
-
var
|
|
1416
|
+
var _this179 = this;
|
|
1403
1417
|
return _asyncToGenerator(function* () {
|
|
1404
1418
|
dashboard_id = encodeParam(dashboard_id);
|
|
1405
|
-
return
|
|
1419
|
+
return _this179.patch("/dashboards/".concat(dashboard_id, "/move"), {
|
|
1406
1420
|
folder_id
|
|
1407
1421
|
}, null, options);
|
|
1408
1422
|
})();
|
|
1409
1423
|
}
|
|
1410
1424
|
import_dashboard_from_lookml(body, options) {
|
|
1411
|
-
var
|
|
1425
|
+
var _this180 = this;
|
|
1412
1426
|
return _asyncToGenerator(function* () {
|
|
1413
|
-
return
|
|
1427
|
+
return _this180.post('/dashboards/lookml', null, body, options);
|
|
1414
1428
|
})();
|
|
1415
1429
|
}
|
|
1416
1430
|
create_dashboard_from_lookml(body, options) {
|
|
1417
|
-
var
|
|
1431
|
+
var _this181 = this;
|
|
1418
1432
|
return _asyncToGenerator(function* () {
|
|
1419
|
-
return
|
|
1433
|
+
return _this181.post('/dashboards/from_lookml', null, body, options);
|
|
1420
1434
|
})();
|
|
1421
1435
|
}
|
|
1422
1436
|
copy_dashboard(dashboard_id, folder_id, options) {
|
|
1423
|
-
var
|
|
1437
|
+
var _this182 = this;
|
|
1424
1438
|
return _asyncToGenerator(function* () {
|
|
1425
1439
|
dashboard_id = encodeParam(dashboard_id);
|
|
1426
|
-
return
|
|
1440
|
+
return _this182.post("/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1427
1441
|
folder_id
|
|
1428
1442
|
}, null, options);
|
|
1429
1443
|
})();
|
|
1430
1444
|
}
|
|
1431
1445
|
search_dashboard_elements(request, options) {
|
|
1432
|
-
var
|
|
1446
|
+
var _this183 = this;
|
|
1433
1447
|
return _asyncToGenerator(function* () {
|
|
1434
|
-
return
|
|
1448
|
+
return _this183.get('/dashboard_elements/search', {
|
|
1435
1449
|
dashboard_id: request.dashboard_id,
|
|
1436
1450
|
look_id: request.look_id,
|
|
1437
1451
|
title: request.title,
|
|
@@ -1443,217 +1457,217 @@ export class Looker40SDK extends APIMethods {
|
|
|
1443
1457
|
})();
|
|
1444
1458
|
}
|
|
1445
1459
|
dashboard_element(dashboard_element_id, fields, options) {
|
|
1446
|
-
var
|
|
1460
|
+
var _this184 = this;
|
|
1447
1461
|
return _asyncToGenerator(function* () {
|
|
1448
1462
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1449
|
-
return
|
|
1463
|
+
return _this184.get("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1450
1464
|
fields
|
|
1451
1465
|
}, null, options);
|
|
1452
1466
|
})();
|
|
1453
1467
|
}
|
|
1454
1468
|
update_dashboard_element(dashboard_element_id, body, fields, options) {
|
|
1455
|
-
var
|
|
1469
|
+
var _this185 = this;
|
|
1456
1470
|
return _asyncToGenerator(function* () {
|
|
1457
1471
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1458
|
-
return
|
|
1472
|
+
return _this185.patch("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1459
1473
|
fields
|
|
1460
1474
|
}, body, options);
|
|
1461
1475
|
})();
|
|
1462
1476
|
}
|
|
1463
1477
|
delete_dashboard_element(dashboard_element_id, options) {
|
|
1464
|
-
var
|
|
1478
|
+
var _this186 = this;
|
|
1465
1479
|
return _asyncToGenerator(function* () {
|
|
1466
1480
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1467
|
-
return
|
|
1481
|
+
return _this186.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1468
1482
|
})();
|
|
1469
1483
|
}
|
|
1470
1484
|
dashboard_dashboard_elements(dashboard_id, fields, options) {
|
|
1471
|
-
var
|
|
1485
|
+
var _this187 = this;
|
|
1472
1486
|
return _asyncToGenerator(function* () {
|
|
1473
1487
|
dashboard_id = encodeParam(dashboard_id);
|
|
1474
|
-
return
|
|
1488
|
+
return _this187.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1475
1489
|
fields
|
|
1476
1490
|
}, null, options);
|
|
1477
1491
|
})();
|
|
1478
1492
|
}
|
|
1479
1493
|
create_dashboard_element(request, options) {
|
|
1480
|
-
var
|
|
1494
|
+
var _this188 = this;
|
|
1481
1495
|
return _asyncToGenerator(function* () {
|
|
1482
|
-
return
|
|
1496
|
+
return _this188.post('/dashboard_elements', {
|
|
1483
1497
|
fields: request.fields,
|
|
1484
1498
|
apply_filters: request.apply_filters
|
|
1485
1499
|
}, request.body, options);
|
|
1486
1500
|
})();
|
|
1487
1501
|
}
|
|
1488
1502
|
dashboard_filter(dashboard_filter_id, fields, options) {
|
|
1489
|
-
var
|
|
1503
|
+
var _this189 = this;
|
|
1490
1504
|
return _asyncToGenerator(function* () {
|
|
1491
1505
|
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1492
|
-
return
|
|
1506
|
+
return _this189.get("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1493
1507
|
fields
|
|
1494
1508
|
}, null, options);
|
|
1495
1509
|
})();
|
|
1496
1510
|
}
|
|
1497
1511
|
update_dashboard_filter(dashboard_filter_id, body, fields, options) {
|
|
1498
|
-
var
|
|
1512
|
+
var _this190 = this;
|
|
1499
1513
|
return _asyncToGenerator(function* () {
|
|
1500
1514
|
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1501
|
-
return
|
|
1515
|
+
return _this190.patch("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1502
1516
|
fields
|
|
1503
1517
|
}, body, options);
|
|
1504
1518
|
})();
|
|
1505
1519
|
}
|
|
1506
1520
|
delete_dashboard_filter(dashboard_filter_id, options) {
|
|
1507
|
-
var
|
|
1521
|
+
var _this191 = this;
|
|
1508
1522
|
return _asyncToGenerator(function* () {
|
|
1509
1523
|
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1510
|
-
return
|
|
1524
|
+
return _this191.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1511
1525
|
})();
|
|
1512
1526
|
}
|
|
1513
1527
|
dashboard_dashboard_filters(dashboard_id, fields, options) {
|
|
1514
|
-
var
|
|
1528
|
+
var _this192 = this;
|
|
1515
1529
|
return _asyncToGenerator(function* () {
|
|
1516
1530
|
dashboard_id = encodeParam(dashboard_id);
|
|
1517
|
-
return
|
|
1531
|
+
return _this192.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1518
1532
|
fields
|
|
1519
1533
|
}, null, options);
|
|
1520
1534
|
})();
|
|
1521
1535
|
}
|
|
1522
1536
|
create_dashboard_filter(body, fields, options) {
|
|
1523
|
-
var
|
|
1537
|
+
var _this193 = this;
|
|
1524
1538
|
return _asyncToGenerator(function* () {
|
|
1525
|
-
return
|
|
1539
|
+
return _this193.post('/dashboard_filters', {
|
|
1526
1540
|
fields
|
|
1527
1541
|
}, body, options);
|
|
1528
1542
|
})();
|
|
1529
1543
|
}
|
|
1530
1544
|
dashboard_layout_component(dashboard_layout_component_id, fields, options) {
|
|
1531
|
-
var
|
|
1545
|
+
var _this194 = this;
|
|
1532
1546
|
return _asyncToGenerator(function* () {
|
|
1533
1547
|
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1534
|
-
return
|
|
1548
|
+
return _this194.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1535
1549
|
fields
|
|
1536
1550
|
}, null, options);
|
|
1537
1551
|
})();
|
|
1538
1552
|
}
|
|
1539
1553
|
update_dashboard_layout_component(dashboard_layout_component_id, body, fields, options) {
|
|
1540
|
-
var
|
|
1554
|
+
var _this195 = this;
|
|
1541
1555
|
return _asyncToGenerator(function* () {
|
|
1542
1556
|
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1543
|
-
return
|
|
1557
|
+
return _this195.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1544
1558
|
fields
|
|
1545
1559
|
}, body, options);
|
|
1546
1560
|
})();
|
|
1547
1561
|
}
|
|
1548
1562
|
dashboard_layout_dashboard_layout_components(dashboard_layout_id, fields, options) {
|
|
1549
|
-
var
|
|
1563
|
+
var _this196 = this;
|
|
1550
1564
|
return _asyncToGenerator(function* () {
|
|
1551
1565
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1552
|
-
return
|
|
1566
|
+
return _this196.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1553
1567
|
fields
|
|
1554
1568
|
}, null, options);
|
|
1555
1569
|
})();
|
|
1556
1570
|
}
|
|
1557
1571
|
dashboard_layout(dashboard_layout_id, fields, options) {
|
|
1558
|
-
var
|
|
1572
|
+
var _this197 = this;
|
|
1559
1573
|
return _asyncToGenerator(function* () {
|
|
1560
1574
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1561
|
-
return
|
|
1575
|
+
return _this197.get("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1562
1576
|
fields
|
|
1563
1577
|
}, null, options);
|
|
1564
1578
|
})();
|
|
1565
1579
|
}
|
|
1566
1580
|
update_dashboard_layout(dashboard_layout_id, body, fields, options) {
|
|
1567
|
-
var
|
|
1581
|
+
var _this198 = this;
|
|
1568
1582
|
return _asyncToGenerator(function* () {
|
|
1569
1583
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1570
|
-
return
|
|
1584
|
+
return _this198.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1571
1585
|
fields
|
|
1572
1586
|
}, body, options);
|
|
1573
1587
|
})();
|
|
1574
1588
|
}
|
|
1575
1589
|
delete_dashboard_layout(dashboard_layout_id, options) {
|
|
1576
|
-
var
|
|
1590
|
+
var _this199 = this;
|
|
1577
1591
|
return _asyncToGenerator(function* () {
|
|
1578
1592
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1579
|
-
return
|
|
1593
|
+
return _this199.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1580
1594
|
})();
|
|
1581
1595
|
}
|
|
1582
1596
|
dashboard_dashboard_layouts(dashboard_id, fields, options) {
|
|
1583
|
-
var
|
|
1597
|
+
var _this200 = this;
|
|
1584
1598
|
return _asyncToGenerator(function* () {
|
|
1585
1599
|
dashboard_id = encodeParam(dashboard_id);
|
|
1586
|
-
return
|
|
1600
|
+
return _this200.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1587
1601
|
fields
|
|
1588
1602
|
}, null, options);
|
|
1589
1603
|
})();
|
|
1590
1604
|
}
|
|
1591
1605
|
create_dashboard_layout(body, fields, options) {
|
|
1592
|
-
var
|
|
1606
|
+
var _this201 = this;
|
|
1593
1607
|
return _asyncToGenerator(function* () {
|
|
1594
|
-
return
|
|
1608
|
+
return _this201.post('/dashboard_layouts', {
|
|
1595
1609
|
fields
|
|
1596
1610
|
}, body, options);
|
|
1597
1611
|
})();
|
|
1598
1612
|
}
|
|
1599
1613
|
perform_data_action(body, options) {
|
|
1600
|
-
var
|
|
1614
|
+
var _this202 = this;
|
|
1601
1615
|
return _asyncToGenerator(function* () {
|
|
1602
|
-
return
|
|
1616
|
+
return _this202.post('/data_actions', null, body, options);
|
|
1603
1617
|
})();
|
|
1604
1618
|
}
|
|
1605
1619
|
fetch_remote_data_action_form(body, options) {
|
|
1606
|
-
var
|
|
1620
|
+
var _this203 = this;
|
|
1607
1621
|
return _asyncToGenerator(function* () {
|
|
1608
|
-
return
|
|
1622
|
+
return _this203.post('/data_actions/form', null, body, options);
|
|
1609
1623
|
})();
|
|
1610
1624
|
}
|
|
1611
1625
|
all_datagroups(options) {
|
|
1612
|
-
var
|
|
1626
|
+
var _this204 = this;
|
|
1613
1627
|
return _asyncToGenerator(function* () {
|
|
1614
|
-
return
|
|
1628
|
+
return _this204.get('/datagroups', null, null, options);
|
|
1615
1629
|
})();
|
|
1616
1630
|
}
|
|
1617
1631
|
datagroup(datagroup_id, options) {
|
|
1618
|
-
var
|
|
1632
|
+
var _this205 = this;
|
|
1619
1633
|
return _asyncToGenerator(function* () {
|
|
1620
1634
|
datagroup_id = encodeParam(datagroup_id);
|
|
1621
|
-
return
|
|
1635
|
+
return _this205.get("/datagroups/".concat(datagroup_id), null, null, options);
|
|
1622
1636
|
})();
|
|
1623
1637
|
}
|
|
1624
1638
|
update_datagroup(datagroup_id, body, options) {
|
|
1625
|
-
var
|
|
1639
|
+
var _this206 = this;
|
|
1626
1640
|
return _asyncToGenerator(function* () {
|
|
1627
1641
|
datagroup_id = encodeParam(datagroup_id);
|
|
1628
|
-
return
|
|
1642
|
+
return _this206.patch("/datagroups/".concat(datagroup_id), null, body, options);
|
|
1629
1643
|
})();
|
|
1630
1644
|
}
|
|
1631
1645
|
graph_derived_tables_for_model(request, options) {
|
|
1632
|
-
var
|
|
1646
|
+
var _this207 = this;
|
|
1633
1647
|
return _asyncToGenerator(function* () {
|
|
1634
1648
|
request.model = encodeParam(request.model);
|
|
1635
|
-
return
|
|
1649
|
+
return _this207.get("/derived_table/graph/model/".concat(request.model), {
|
|
1636
1650
|
format: request.format,
|
|
1637
1651
|
color: request.color
|
|
1638
1652
|
}, null, options);
|
|
1639
1653
|
})();
|
|
1640
1654
|
}
|
|
1641
1655
|
graph_derived_tables_for_view(request, options) {
|
|
1642
|
-
var
|
|
1656
|
+
var _this208 = this;
|
|
1643
1657
|
return _asyncToGenerator(function* () {
|
|
1644
1658
|
request.view = encodeParam(request.view);
|
|
1645
|
-
return
|
|
1659
|
+
return _this208.get("/derived_table/graph/view/".concat(request.view), {
|
|
1646
1660
|
models: request.models,
|
|
1647
1661
|
workspace: request.workspace
|
|
1648
1662
|
}, null, options);
|
|
1649
1663
|
})();
|
|
1650
1664
|
}
|
|
1651
1665
|
start_pdt_build(request, options) {
|
|
1652
|
-
var
|
|
1666
|
+
var _this209 = this;
|
|
1653
1667
|
return _asyncToGenerator(function* () {
|
|
1654
1668
|
request.model_name = encodeParam(request.model_name);
|
|
1655
1669
|
request.view_name = encodeParam(request.view_name);
|
|
1656
|
-
return
|
|
1670
|
+
return _this209.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1657
1671
|
force_rebuild: request.force_rebuild,
|
|
1658
1672
|
force_full_incremental: request.force_full_incremental,
|
|
1659
1673
|
workspace: request.workspace,
|
|
@@ -1662,25 +1676,25 @@ export class Looker40SDK extends APIMethods {
|
|
|
1662
1676
|
})();
|
|
1663
1677
|
}
|
|
1664
1678
|
check_pdt_build(materialization_id, options) {
|
|
1665
|
-
var
|
|
1679
|
+
var _this210 = this;
|
|
1666
1680
|
return _asyncToGenerator(function* () {
|
|
1667
1681
|
materialization_id = encodeParam(materialization_id);
|
|
1668
|
-
return
|
|
1682
|
+
return _this210.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1669
1683
|
})();
|
|
1670
1684
|
}
|
|
1671
1685
|
stop_pdt_build(materialization_id, source, options) {
|
|
1672
|
-
var
|
|
1686
|
+
var _this211 = this;
|
|
1673
1687
|
return _asyncToGenerator(function* () {
|
|
1674
1688
|
materialization_id = encodeParam(materialization_id);
|
|
1675
|
-
return
|
|
1689
|
+
return _this211.get("/derived_table/".concat(materialization_id, "/stop"), {
|
|
1676
1690
|
source
|
|
1677
1691
|
}, null, options);
|
|
1678
1692
|
})();
|
|
1679
1693
|
}
|
|
1680
1694
|
search_folders(request, options) {
|
|
1681
|
-
var
|
|
1695
|
+
var _this212 = this;
|
|
1682
1696
|
return _asyncToGenerator(function* () {
|
|
1683
|
-
return
|
|
1697
|
+
return _this212.get('/folders/search', {
|
|
1684
1698
|
fields: request.fields,
|
|
1685
1699
|
page: request.page,
|
|
1686
1700
|
per_page: request.per_page,
|
|
@@ -1698,47 +1712,47 @@ export class Looker40SDK extends APIMethods {
|
|
|
1698
1712
|
})();
|
|
1699
1713
|
}
|
|
1700
1714
|
folder(folder_id, fields, options) {
|
|
1701
|
-
var
|
|
1715
|
+
var _this213 = this;
|
|
1702
1716
|
return _asyncToGenerator(function* () {
|
|
1703
1717
|
folder_id = encodeParam(folder_id);
|
|
1704
|
-
return
|
|
1718
|
+
return _this213.get("/folders/".concat(folder_id), {
|
|
1705
1719
|
fields
|
|
1706
1720
|
}, null, options);
|
|
1707
1721
|
})();
|
|
1708
1722
|
}
|
|
1709
1723
|
update_folder(folder_id, body, options) {
|
|
1710
|
-
var
|
|
1724
|
+
var _this214 = this;
|
|
1711
1725
|
return _asyncToGenerator(function* () {
|
|
1712
1726
|
folder_id = encodeParam(folder_id);
|
|
1713
|
-
return
|
|
1727
|
+
return _this214.patch("/folders/".concat(folder_id), null, body, options);
|
|
1714
1728
|
})();
|
|
1715
1729
|
}
|
|
1716
1730
|
delete_folder(folder_id, options) {
|
|
1717
|
-
var
|
|
1731
|
+
var _this215 = this;
|
|
1718
1732
|
return _asyncToGenerator(function* () {
|
|
1719
1733
|
folder_id = encodeParam(folder_id);
|
|
1720
|
-
return
|
|
1734
|
+
return _this215.delete("/folders/".concat(folder_id), null, null, options);
|
|
1721
1735
|
})();
|
|
1722
1736
|
}
|
|
1723
1737
|
all_folders(fields, options) {
|
|
1724
|
-
var
|
|
1738
|
+
var _this216 = this;
|
|
1725
1739
|
return _asyncToGenerator(function* () {
|
|
1726
|
-
return
|
|
1740
|
+
return _this216.get('/folders', {
|
|
1727
1741
|
fields
|
|
1728
1742
|
}, null, options);
|
|
1729
1743
|
})();
|
|
1730
1744
|
}
|
|
1731
1745
|
create_folder(body, options) {
|
|
1732
|
-
var
|
|
1746
|
+
var _this217 = this;
|
|
1733
1747
|
return _asyncToGenerator(function* () {
|
|
1734
|
-
return
|
|
1748
|
+
return _this217.post('/folders', null, body, options);
|
|
1735
1749
|
})();
|
|
1736
1750
|
}
|
|
1737
1751
|
folder_children(request, options) {
|
|
1738
|
-
var
|
|
1752
|
+
var _this218 = this;
|
|
1739
1753
|
return _asyncToGenerator(function* () {
|
|
1740
1754
|
request.folder_id = encodeParam(request.folder_id);
|
|
1741
|
-
return
|
|
1755
|
+
return _this218.get("/folders/".concat(request.folder_id, "/children"), {
|
|
1742
1756
|
fields: request.fields,
|
|
1743
1757
|
page: request.page,
|
|
1744
1758
|
per_page: request.per_page,
|
|
@@ -1749,10 +1763,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
1749
1763
|
})();
|
|
1750
1764
|
}
|
|
1751
1765
|
folder_children_search(request, options) {
|
|
1752
|
-
var
|
|
1766
|
+
var _this219 = this;
|
|
1753
1767
|
return _asyncToGenerator(function* () {
|
|
1754
1768
|
request.folder_id = encodeParam(request.folder_id);
|
|
1755
|
-
return
|
|
1769
|
+
return _this219.get("/folders/".concat(request.folder_id, "/children/search"), {
|
|
1756
1770
|
fields: request.fields,
|
|
1757
1771
|
sorts: request.sorts,
|
|
1758
1772
|
name: request.name
|
|
@@ -1760,45 +1774,45 @@ export class Looker40SDK extends APIMethods {
|
|
|
1760
1774
|
})();
|
|
1761
1775
|
}
|
|
1762
1776
|
folder_parent(folder_id, fields, options) {
|
|
1763
|
-
var
|
|
1777
|
+
var _this220 = this;
|
|
1764
1778
|
return _asyncToGenerator(function* () {
|
|
1765
1779
|
folder_id = encodeParam(folder_id);
|
|
1766
|
-
return
|
|
1780
|
+
return _this220.get("/folders/".concat(folder_id, "/parent"), {
|
|
1767
1781
|
fields
|
|
1768
1782
|
}, null, options);
|
|
1769
1783
|
})();
|
|
1770
1784
|
}
|
|
1771
1785
|
folder_ancestors(folder_id, fields, options) {
|
|
1772
|
-
var
|
|
1786
|
+
var _this221 = this;
|
|
1773
1787
|
return _asyncToGenerator(function* () {
|
|
1774
1788
|
folder_id = encodeParam(folder_id);
|
|
1775
|
-
return
|
|
1789
|
+
return _this221.get("/folders/".concat(folder_id, "/ancestors"), {
|
|
1776
1790
|
fields
|
|
1777
1791
|
}, null, options);
|
|
1778
1792
|
})();
|
|
1779
1793
|
}
|
|
1780
1794
|
folder_looks(folder_id, fields, options) {
|
|
1781
|
-
var
|
|
1795
|
+
var _this222 = this;
|
|
1782
1796
|
return _asyncToGenerator(function* () {
|
|
1783
1797
|
folder_id = encodeParam(folder_id);
|
|
1784
|
-
return
|
|
1798
|
+
return _this222.get("/folders/".concat(folder_id, "/looks"), {
|
|
1785
1799
|
fields
|
|
1786
1800
|
}, null, options);
|
|
1787
1801
|
})();
|
|
1788
1802
|
}
|
|
1789
1803
|
folder_dashboards(folder_id, fields, options) {
|
|
1790
|
-
var
|
|
1804
|
+
var _this223 = this;
|
|
1791
1805
|
return _asyncToGenerator(function* () {
|
|
1792
1806
|
folder_id = encodeParam(folder_id);
|
|
1793
|
-
return
|
|
1807
|
+
return _this223.get("/folders/".concat(folder_id, "/dashboards"), {
|
|
1794
1808
|
fields
|
|
1795
1809
|
}, null, options);
|
|
1796
1810
|
})();
|
|
1797
1811
|
}
|
|
1798
1812
|
all_groups(request, options) {
|
|
1799
|
-
var
|
|
1813
|
+
var _this224 = this;
|
|
1800
1814
|
return _asyncToGenerator(function* () {
|
|
1801
|
-
return
|
|
1815
|
+
return _this224.get('/groups', {
|
|
1802
1816
|
fields: request.fields,
|
|
1803
1817
|
page: request.page,
|
|
1804
1818
|
per_page: request.per_page,
|
|
@@ -1812,17 +1826,17 @@ export class Looker40SDK extends APIMethods {
|
|
|
1812
1826
|
})();
|
|
1813
1827
|
}
|
|
1814
1828
|
create_group(body, fields, options) {
|
|
1815
|
-
var
|
|
1829
|
+
var _this225 = this;
|
|
1816
1830
|
return _asyncToGenerator(function* () {
|
|
1817
|
-
return
|
|
1831
|
+
return _this225.post('/groups', {
|
|
1818
1832
|
fields
|
|
1819
1833
|
}, body, options);
|
|
1820
1834
|
})();
|
|
1821
1835
|
}
|
|
1822
1836
|
search_groups(request, options) {
|
|
1823
|
-
var
|
|
1837
|
+
var _this226 = this;
|
|
1824
1838
|
return _asyncToGenerator(function* () {
|
|
1825
|
-
return
|
|
1839
|
+
return _this226.get('/groups/search', {
|
|
1826
1840
|
fields: request.fields,
|
|
1827
1841
|
limit: request.limit,
|
|
1828
1842
|
offset: request.offset,
|
|
@@ -1837,9 +1851,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
1837
1851
|
})();
|
|
1838
1852
|
}
|
|
1839
1853
|
search_groups_with_roles(request, options) {
|
|
1840
|
-
var
|
|
1854
|
+
var _this227 = this;
|
|
1841
1855
|
return _asyncToGenerator(function* () {
|
|
1842
|
-
return
|
|
1856
|
+
return _this227.get('/groups/search/with_roles', {
|
|
1843
1857
|
fields: request.fields,
|
|
1844
1858
|
limit: request.limit,
|
|
1845
1859
|
offset: request.offset,
|
|
@@ -1854,9 +1868,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
1854
1868
|
})();
|
|
1855
1869
|
}
|
|
1856
1870
|
search_groups_with_hierarchy(request, options) {
|
|
1857
|
-
var
|
|
1871
|
+
var _this228 = this;
|
|
1858
1872
|
return _asyncToGenerator(function* () {
|
|
1859
|
-
return
|
|
1873
|
+
return _this228.get('/groups/search/with_hierarchy', {
|
|
1860
1874
|
fields: request.fields,
|
|
1861
1875
|
limit: request.limit,
|
|
1862
1876
|
offset: request.offset,
|
|
@@ -1871,51 +1885,51 @@ export class Looker40SDK extends APIMethods {
|
|
|
1871
1885
|
})();
|
|
1872
1886
|
}
|
|
1873
1887
|
group(group_id, fields, options) {
|
|
1874
|
-
var
|
|
1888
|
+
var _this229 = this;
|
|
1875
1889
|
return _asyncToGenerator(function* () {
|
|
1876
1890
|
group_id = encodeParam(group_id);
|
|
1877
|
-
return
|
|
1891
|
+
return _this229.get("/groups/".concat(group_id), {
|
|
1878
1892
|
fields
|
|
1879
1893
|
}, null, options);
|
|
1880
1894
|
})();
|
|
1881
1895
|
}
|
|
1882
1896
|
update_group(group_id, body, fields, options) {
|
|
1883
|
-
var
|
|
1897
|
+
var _this230 = this;
|
|
1884
1898
|
return _asyncToGenerator(function* () {
|
|
1885
1899
|
group_id = encodeParam(group_id);
|
|
1886
|
-
return
|
|
1900
|
+
return _this230.patch("/groups/".concat(group_id), {
|
|
1887
1901
|
fields
|
|
1888
1902
|
}, body, options);
|
|
1889
1903
|
})();
|
|
1890
1904
|
}
|
|
1891
1905
|
delete_group(group_id, options) {
|
|
1892
|
-
var
|
|
1906
|
+
var _this231 = this;
|
|
1893
1907
|
return _asyncToGenerator(function* () {
|
|
1894
1908
|
group_id = encodeParam(group_id);
|
|
1895
|
-
return
|
|
1909
|
+
return _this231.delete("/groups/".concat(group_id), null, null, options);
|
|
1896
1910
|
})();
|
|
1897
1911
|
}
|
|
1898
1912
|
all_group_groups(group_id, fields, options) {
|
|
1899
|
-
var
|
|
1913
|
+
var _this232 = this;
|
|
1900
1914
|
return _asyncToGenerator(function* () {
|
|
1901
1915
|
group_id = encodeParam(group_id);
|
|
1902
|
-
return
|
|
1916
|
+
return _this232.get("/groups/".concat(group_id, "/groups"), {
|
|
1903
1917
|
fields
|
|
1904
1918
|
}, null, options);
|
|
1905
1919
|
})();
|
|
1906
1920
|
}
|
|
1907
1921
|
add_group_group(group_id, body, options) {
|
|
1908
|
-
var
|
|
1922
|
+
var _this233 = this;
|
|
1909
1923
|
return _asyncToGenerator(function* () {
|
|
1910
1924
|
group_id = encodeParam(group_id);
|
|
1911
|
-
return
|
|
1925
|
+
return _this233.post("/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1912
1926
|
})();
|
|
1913
1927
|
}
|
|
1914
1928
|
all_group_users(request, options) {
|
|
1915
|
-
var
|
|
1929
|
+
var _this234 = this;
|
|
1916
1930
|
return _asyncToGenerator(function* () {
|
|
1917
1931
|
request.group_id = encodeParam(request.group_id);
|
|
1918
|
-
return
|
|
1932
|
+
return _this234.get("/groups/".concat(request.group_id, "/users"), {
|
|
1919
1933
|
fields: request.fields,
|
|
1920
1934
|
page: request.page,
|
|
1921
1935
|
per_page: request.per_page,
|
|
@@ -1926,161 +1940,161 @@ export class Looker40SDK extends APIMethods {
|
|
|
1926
1940
|
})();
|
|
1927
1941
|
}
|
|
1928
1942
|
add_group_user(group_id, body, options) {
|
|
1929
|
-
var
|
|
1943
|
+
var _this235 = this;
|
|
1930
1944
|
return _asyncToGenerator(function* () {
|
|
1931
1945
|
group_id = encodeParam(group_id);
|
|
1932
|
-
return
|
|
1946
|
+
return _this235.post("/groups/".concat(group_id, "/users"), null, body, options);
|
|
1933
1947
|
})();
|
|
1934
1948
|
}
|
|
1935
1949
|
delete_group_user(group_id, user_id, options) {
|
|
1936
|
-
var
|
|
1950
|
+
var _this236 = this;
|
|
1937
1951
|
return _asyncToGenerator(function* () {
|
|
1938
1952
|
group_id = encodeParam(group_id);
|
|
1939
1953
|
user_id = encodeParam(user_id);
|
|
1940
|
-
return
|
|
1954
|
+
return _this236.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1941
1955
|
})();
|
|
1942
1956
|
}
|
|
1943
1957
|
delete_group_from_group(group_id, deleting_group_id, options) {
|
|
1944
|
-
var
|
|
1958
|
+
var _this237 = this;
|
|
1945
1959
|
return _asyncToGenerator(function* () {
|
|
1946
1960
|
group_id = encodeParam(group_id);
|
|
1947
1961
|
deleting_group_id = encodeParam(deleting_group_id);
|
|
1948
|
-
return
|
|
1962
|
+
return _this237.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1949
1963
|
})();
|
|
1950
1964
|
}
|
|
1951
1965
|
update_user_attribute_group_value(group_id, user_attribute_id, body, options) {
|
|
1952
|
-
var
|
|
1966
|
+
var _this238 = this;
|
|
1953
1967
|
return _asyncToGenerator(function* () {
|
|
1954
1968
|
group_id = encodeParam(group_id);
|
|
1955
1969
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
1956
|
-
return
|
|
1970
|
+
return _this238.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1957
1971
|
})();
|
|
1958
1972
|
}
|
|
1959
1973
|
delete_user_attribute_group_value(group_id, user_attribute_id, options) {
|
|
1960
|
-
var
|
|
1974
|
+
var _this239 = this;
|
|
1961
1975
|
return _asyncToGenerator(function* () {
|
|
1962
1976
|
group_id = encodeParam(group_id);
|
|
1963
1977
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
1964
|
-
return
|
|
1978
|
+
return _this239.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1965
1979
|
})();
|
|
1966
1980
|
}
|
|
1967
1981
|
all_primary_homepage_sections(fields, options) {
|
|
1968
|
-
var
|
|
1982
|
+
var _this240 = this;
|
|
1969
1983
|
return _asyncToGenerator(function* () {
|
|
1970
|
-
return
|
|
1984
|
+
return _this240.get('/primary_homepage_sections', {
|
|
1971
1985
|
fields
|
|
1972
1986
|
}, null, options);
|
|
1973
1987
|
})();
|
|
1974
1988
|
}
|
|
1975
1989
|
all_integration_hubs(fields, options) {
|
|
1976
|
-
var
|
|
1990
|
+
var _this241 = this;
|
|
1977
1991
|
return _asyncToGenerator(function* () {
|
|
1978
|
-
return
|
|
1992
|
+
return _this241.get('/integration_hubs', {
|
|
1979
1993
|
fields
|
|
1980
1994
|
}, null, options);
|
|
1981
1995
|
})();
|
|
1982
1996
|
}
|
|
1983
1997
|
create_integration_hub(body, fields, options) {
|
|
1984
|
-
var
|
|
1998
|
+
var _this242 = this;
|
|
1985
1999
|
return _asyncToGenerator(function* () {
|
|
1986
|
-
return
|
|
2000
|
+
return _this242.post('/integration_hubs', {
|
|
1987
2001
|
fields
|
|
1988
2002
|
}, body, options);
|
|
1989
2003
|
})();
|
|
1990
2004
|
}
|
|
1991
2005
|
integration_hub(integration_hub_id, fields, options) {
|
|
1992
|
-
var
|
|
2006
|
+
var _this243 = this;
|
|
1993
2007
|
return _asyncToGenerator(function* () {
|
|
1994
2008
|
integration_hub_id = encodeParam(integration_hub_id);
|
|
1995
|
-
return
|
|
2009
|
+
return _this243.get("/integration_hubs/".concat(integration_hub_id), {
|
|
1996
2010
|
fields
|
|
1997
2011
|
}, null, options);
|
|
1998
2012
|
})();
|
|
1999
2013
|
}
|
|
2000
2014
|
update_integration_hub(integration_hub_id, body, fields, options) {
|
|
2001
|
-
var
|
|
2015
|
+
var _this244 = this;
|
|
2002
2016
|
return _asyncToGenerator(function* () {
|
|
2003
2017
|
integration_hub_id = encodeParam(integration_hub_id);
|
|
2004
|
-
return
|
|
2018
|
+
return _this244.patch("/integration_hubs/".concat(integration_hub_id), {
|
|
2005
2019
|
fields
|
|
2006
2020
|
}, body, options);
|
|
2007
2021
|
})();
|
|
2008
2022
|
}
|
|
2009
2023
|
delete_integration_hub(integration_hub_id, options) {
|
|
2010
|
-
var
|
|
2024
|
+
var _this245 = this;
|
|
2011
2025
|
return _asyncToGenerator(function* () {
|
|
2012
2026
|
integration_hub_id = encodeParam(integration_hub_id);
|
|
2013
|
-
return
|
|
2027
|
+
return _this245.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2014
2028
|
})();
|
|
2015
2029
|
}
|
|
2016
2030
|
accept_integration_hub_legal_agreement(integration_hub_id, options) {
|
|
2017
|
-
var
|
|
2031
|
+
var _this246 = this;
|
|
2018
2032
|
return _asyncToGenerator(function* () {
|
|
2019
2033
|
integration_hub_id = encodeParam(integration_hub_id);
|
|
2020
|
-
return
|
|
2034
|
+
return _this246.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2021
2035
|
})();
|
|
2022
2036
|
}
|
|
2023
2037
|
all_integrations(request, options) {
|
|
2024
|
-
var
|
|
2038
|
+
var _this247 = this;
|
|
2025
2039
|
return _asyncToGenerator(function* () {
|
|
2026
|
-
return
|
|
2040
|
+
return _this247.get('/integrations', {
|
|
2027
2041
|
fields: request.fields,
|
|
2028
2042
|
integration_hub_id: request.integration_hub_id
|
|
2029
2043
|
}, null, options);
|
|
2030
2044
|
})();
|
|
2031
2045
|
}
|
|
2032
2046
|
integration(integration_id, fields, options) {
|
|
2033
|
-
var
|
|
2047
|
+
var _this248 = this;
|
|
2034
2048
|
return _asyncToGenerator(function* () {
|
|
2035
2049
|
integration_id = encodeParam(integration_id);
|
|
2036
|
-
return
|
|
2050
|
+
return _this248.get("/integrations/".concat(integration_id), {
|
|
2037
2051
|
fields
|
|
2038
2052
|
}, null, options);
|
|
2039
2053
|
})();
|
|
2040
2054
|
}
|
|
2041
2055
|
update_integration(integration_id, body, fields, options) {
|
|
2042
|
-
var
|
|
2056
|
+
var _this249 = this;
|
|
2043
2057
|
return _asyncToGenerator(function* () {
|
|
2044
2058
|
integration_id = encodeParam(integration_id);
|
|
2045
|
-
return
|
|
2059
|
+
return _this249.patch("/integrations/".concat(integration_id), {
|
|
2046
2060
|
fields
|
|
2047
2061
|
}, body, options);
|
|
2048
2062
|
})();
|
|
2049
2063
|
}
|
|
2050
2064
|
fetch_integration_form(integration_id, body, options) {
|
|
2051
|
-
var
|
|
2065
|
+
var _this250 = this;
|
|
2052
2066
|
return _asyncToGenerator(function* () {
|
|
2053
2067
|
integration_id = encodeParam(integration_id);
|
|
2054
|
-
return
|
|
2068
|
+
return _this250.post("/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2055
2069
|
})();
|
|
2056
2070
|
}
|
|
2057
2071
|
test_integration(integration_id, options) {
|
|
2058
|
-
var
|
|
2072
|
+
var _this251 = this;
|
|
2059
2073
|
return _asyncToGenerator(function* () {
|
|
2060
2074
|
integration_id = encodeParam(integration_id);
|
|
2061
|
-
return
|
|
2075
|
+
return _this251.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2062
2076
|
})();
|
|
2063
2077
|
}
|
|
2064
2078
|
all_looks(fields, options) {
|
|
2065
|
-
var
|
|
2079
|
+
var _this252 = this;
|
|
2066
2080
|
return _asyncToGenerator(function* () {
|
|
2067
|
-
return
|
|
2081
|
+
return _this252.get('/looks', {
|
|
2068
2082
|
fields
|
|
2069
2083
|
}, null, options);
|
|
2070
2084
|
})();
|
|
2071
2085
|
}
|
|
2072
2086
|
create_look(body, fields, options) {
|
|
2073
|
-
var
|
|
2087
|
+
var _this253 = this;
|
|
2074
2088
|
return _asyncToGenerator(function* () {
|
|
2075
|
-
return
|
|
2089
|
+
return _this253.post('/looks', {
|
|
2076
2090
|
fields
|
|
2077
2091
|
}, body, options);
|
|
2078
2092
|
})();
|
|
2079
2093
|
}
|
|
2080
2094
|
search_looks(request, options) {
|
|
2081
|
-
var
|
|
2095
|
+
var _this254 = this;
|
|
2082
2096
|
return _asyncToGenerator(function* () {
|
|
2083
|
-
return
|
|
2097
|
+
return _this254.get('/looks/search', {
|
|
2084
2098
|
id: request.id,
|
|
2085
2099
|
title: request.title,
|
|
2086
2100
|
description: request.description,
|
|
@@ -2103,36 +2117,36 @@ export class Looker40SDK extends APIMethods {
|
|
|
2103
2117
|
})();
|
|
2104
2118
|
}
|
|
2105
2119
|
look(look_id, fields, options) {
|
|
2106
|
-
var
|
|
2120
|
+
var _this255 = this;
|
|
2107
2121
|
return _asyncToGenerator(function* () {
|
|
2108
2122
|
look_id = encodeParam(look_id);
|
|
2109
|
-
return
|
|
2123
|
+
return _this255.get("/looks/".concat(look_id), {
|
|
2110
2124
|
fields
|
|
2111
2125
|
}, null, options);
|
|
2112
2126
|
})();
|
|
2113
2127
|
}
|
|
2114
2128
|
update_look(look_id, body, fields, options) {
|
|
2115
|
-
var
|
|
2129
|
+
var _this256 = this;
|
|
2116
2130
|
return _asyncToGenerator(function* () {
|
|
2117
2131
|
look_id = encodeParam(look_id);
|
|
2118
|
-
return
|
|
2132
|
+
return _this256.patch("/looks/".concat(look_id), {
|
|
2119
2133
|
fields
|
|
2120
2134
|
}, body, options);
|
|
2121
2135
|
})();
|
|
2122
2136
|
}
|
|
2123
2137
|
delete_look(look_id, options) {
|
|
2124
|
-
var
|
|
2138
|
+
var _this257 = this;
|
|
2125
2139
|
return _asyncToGenerator(function* () {
|
|
2126
2140
|
look_id = encodeParam(look_id);
|
|
2127
|
-
return
|
|
2141
|
+
return _this257.delete("/looks/".concat(look_id), null, null, options);
|
|
2128
2142
|
})();
|
|
2129
2143
|
}
|
|
2130
2144
|
run_look(request, options) {
|
|
2131
|
-
var
|
|
2145
|
+
var _this258 = this;
|
|
2132
2146
|
return _asyncToGenerator(function* () {
|
|
2133
2147
|
request.look_id = encodeParam(request.look_id);
|
|
2134
2148
|
request.result_format = encodeParam(request.result_format);
|
|
2135
|
-
return
|
|
2149
|
+
return _this258.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2136
2150
|
limit: request.limit,
|
|
2137
2151
|
apply_formatting: request.apply_formatting,
|
|
2138
2152
|
apply_vis: request.apply_vis,
|
|
@@ -2149,27 +2163,27 @@ export class Looker40SDK extends APIMethods {
|
|
|
2149
2163
|
})();
|
|
2150
2164
|
}
|
|
2151
2165
|
copy_look(look_id, folder_id, options) {
|
|
2152
|
-
var
|
|
2166
|
+
var _this259 = this;
|
|
2153
2167
|
return _asyncToGenerator(function* () {
|
|
2154
2168
|
look_id = encodeParam(look_id);
|
|
2155
|
-
return
|
|
2169
|
+
return _this259.post("/looks/".concat(look_id, "/copy"), {
|
|
2156
2170
|
folder_id
|
|
2157
2171
|
}, null, options);
|
|
2158
2172
|
})();
|
|
2159
2173
|
}
|
|
2160
2174
|
move_look(look_id, folder_id, options) {
|
|
2161
|
-
var
|
|
2175
|
+
var _this260 = this;
|
|
2162
2176
|
return _asyncToGenerator(function* () {
|
|
2163
2177
|
look_id = encodeParam(look_id);
|
|
2164
|
-
return
|
|
2178
|
+
return _this260.patch("/looks/".concat(look_id, "/move"), {
|
|
2165
2179
|
folder_id
|
|
2166
2180
|
}, null, options);
|
|
2167
2181
|
})();
|
|
2168
2182
|
}
|
|
2169
2183
|
all_lookml_models(request, options) {
|
|
2170
|
-
var
|
|
2184
|
+
var _this261 = this;
|
|
2171
2185
|
return _asyncToGenerator(function* () {
|
|
2172
|
-
return
|
|
2186
|
+
return _this261.get('/lookml_models', {
|
|
2173
2187
|
fields: request.fields,
|
|
2174
2188
|
limit: request.limit,
|
|
2175
2189
|
offset: request.offset
|
|
@@ -2177,85 +2191,85 @@ export class Looker40SDK extends APIMethods {
|
|
|
2177
2191
|
})();
|
|
2178
2192
|
}
|
|
2179
2193
|
create_lookml_model(body, options) {
|
|
2180
|
-
var
|
|
2194
|
+
var _this262 = this;
|
|
2181
2195
|
return _asyncToGenerator(function* () {
|
|
2182
|
-
return
|
|
2196
|
+
return _this262.post('/lookml_models', null, body, options);
|
|
2183
2197
|
})();
|
|
2184
2198
|
}
|
|
2185
2199
|
lookml_model(lookml_model_name, fields, options) {
|
|
2186
|
-
var
|
|
2200
|
+
var _this263 = this;
|
|
2187
2201
|
return _asyncToGenerator(function* () {
|
|
2188
2202
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2189
|
-
return
|
|
2203
|
+
return _this263.get("/lookml_models/".concat(lookml_model_name), {
|
|
2190
2204
|
fields
|
|
2191
2205
|
}, null, options);
|
|
2192
2206
|
})();
|
|
2193
2207
|
}
|
|
2194
2208
|
update_lookml_model(lookml_model_name, body, options) {
|
|
2195
|
-
var
|
|
2209
|
+
var _this264 = this;
|
|
2196
2210
|
return _asyncToGenerator(function* () {
|
|
2197
2211
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2198
|
-
return
|
|
2212
|
+
return _this264.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2199
2213
|
})();
|
|
2200
2214
|
}
|
|
2201
2215
|
delete_lookml_model(lookml_model_name, options) {
|
|
2202
|
-
var
|
|
2216
|
+
var _this265 = this;
|
|
2203
2217
|
return _asyncToGenerator(function* () {
|
|
2204
2218
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2205
|
-
return
|
|
2219
|
+
return _this265.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2206
2220
|
})();
|
|
2207
2221
|
}
|
|
2208
2222
|
lookml_model_explore(request, options) {
|
|
2209
|
-
var
|
|
2223
|
+
var _this266 = this;
|
|
2210
2224
|
return _asyncToGenerator(function* () {
|
|
2211
2225
|
request.lookml_model_name = encodeParam(request.lookml_model_name);
|
|
2212
2226
|
request.explore_name = encodeParam(request.explore_name);
|
|
2213
|
-
return
|
|
2227
|
+
return _this266.get("/lookml_models/".concat(request.lookml_model_name, "/explores/").concat(request.explore_name), {
|
|
2214
2228
|
fields: request.fields,
|
|
2215
2229
|
add_drills_metadata: request.add_drills_metadata
|
|
2216
2230
|
}, null, options);
|
|
2217
2231
|
})();
|
|
2218
2232
|
}
|
|
2219
2233
|
model_fieldname_suggestions(request, options) {
|
|
2220
|
-
var
|
|
2234
|
+
var _this267 = this;
|
|
2221
2235
|
return _asyncToGenerator(function* () {
|
|
2222
2236
|
request.model_name = encodeParam(request.model_name);
|
|
2223
2237
|
request.view_name = encodeParam(request.view_name);
|
|
2224
2238
|
request.field_name = encodeParam(request.field_name);
|
|
2225
|
-
return
|
|
2239
|
+
return _this267.get("/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2226
2240
|
term: request.term,
|
|
2227
2241
|
filters: request.filters
|
|
2228
2242
|
}, null, options);
|
|
2229
2243
|
})();
|
|
2230
2244
|
}
|
|
2231
2245
|
get_model(model_name, options) {
|
|
2232
|
-
var
|
|
2246
|
+
var _this268 = this;
|
|
2233
2247
|
return _asyncToGenerator(function* () {
|
|
2234
2248
|
model_name = encodeParam(model_name);
|
|
2235
|
-
return
|
|
2249
|
+
return _this268.get("/models/".concat(model_name), null, null, options);
|
|
2236
2250
|
})();
|
|
2237
2251
|
}
|
|
2238
2252
|
connection_databases(connection_name, options) {
|
|
2239
|
-
var
|
|
2253
|
+
var _this269 = this;
|
|
2240
2254
|
return _asyncToGenerator(function* () {
|
|
2241
2255
|
connection_name = encodeParam(connection_name);
|
|
2242
|
-
return
|
|
2256
|
+
return _this269.get("/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2243
2257
|
})();
|
|
2244
2258
|
}
|
|
2245
2259
|
connection_features(connection_name, fields, options) {
|
|
2246
|
-
var
|
|
2260
|
+
var _this270 = this;
|
|
2247
2261
|
return _asyncToGenerator(function* () {
|
|
2248
2262
|
connection_name = encodeParam(connection_name);
|
|
2249
|
-
return
|
|
2263
|
+
return _this270.get("/connections/".concat(connection_name, "/features"), {
|
|
2250
2264
|
fields
|
|
2251
2265
|
}, null, options);
|
|
2252
2266
|
})();
|
|
2253
2267
|
}
|
|
2254
2268
|
connection_schemas(request, options) {
|
|
2255
|
-
var
|
|
2269
|
+
var _this271 = this;
|
|
2256
2270
|
return _asyncToGenerator(function* () {
|
|
2257
2271
|
request.connection_name = encodeParam(request.connection_name);
|
|
2258
|
-
return
|
|
2272
|
+
return _this271.get("/connections/".concat(request.connection_name, "/schemas"), {
|
|
2259
2273
|
database: request.database,
|
|
2260
2274
|
cache: request.cache,
|
|
2261
2275
|
fields: request.fields
|
|
@@ -2263,10 +2277,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
2263
2277
|
})();
|
|
2264
2278
|
}
|
|
2265
2279
|
connection_tables(request, options) {
|
|
2266
|
-
var
|
|
2280
|
+
var _this272 = this;
|
|
2267
2281
|
return _asyncToGenerator(function* () {
|
|
2268
2282
|
request.connection_name = encodeParam(request.connection_name);
|
|
2269
|
-
return
|
|
2283
|
+
return _this272.get("/connections/".concat(request.connection_name, "/tables"), {
|
|
2270
2284
|
database: request.database,
|
|
2271
2285
|
schema_name: request.schema_name,
|
|
2272
2286
|
cache: request.cache,
|
|
@@ -2277,10 +2291,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
2277
2291
|
})();
|
|
2278
2292
|
}
|
|
2279
2293
|
connection_columns(request, options) {
|
|
2280
|
-
var
|
|
2294
|
+
var _this273 = this;
|
|
2281
2295
|
return _asyncToGenerator(function* () {
|
|
2282
2296
|
request.connection_name = encodeParam(request.connection_name);
|
|
2283
|
-
return
|
|
2297
|
+
return _this273.get("/connections/".concat(request.connection_name, "/columns"), {
|
|
2284
2298
|
database: request.database,
|
|
2285
2299
|
schema_name: request.schema_name,
|
|
2286
2300
|
cache: request.cache,
|
|
@@ -2291,241 +2305,241 @@ export class Looker40SDK extends APIMethods {
|
|
|
2291
2305
|
})();
|
|
2292
2306
|
}
|
|
2293
2307
|
connection_search_columns(request, options) {
|
|
2294
|
-
var
|
|
2308
|
+
var _this274 = this;
|
|
2295
2309
|
return _asyncToGenerator(function* () {
|
|
2296
2310
|
request.connection_name = encodeParam(request.connection_name);
|
|
2297
|
-
return
|
|
2311
|
+
return _this274.get("/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2298
2312
|
column_name: request.column_name,
|
|
2299
2313
|
fields: request.fields
|
|
2300
2314
|
}, null, options);
|
|
2301
2315
|
})();
|
|
2302
2316
|
}
|
|
2303
2317
|
connection_cost_estimate(connection_name, body, fields, options) {
|
|
2304
|
-
var
|
|
2318
|
+
var _this275 = this;
|
|
2305
2319
|
return _asyncToGenerator(function* () {
|
|
2306
2320
|
connection_name = encodeParam(connection_name);
|
|
2307
|
-
return
|
|
2321
|
+
return _this275.post("/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2308
2322
|
fields
|
|
2309
2323
|
}, body, options);
|
|
2310
2324
|
})();
|
|
2311
2325
|
}
|
|
2312
2326
|
lock_all(project_id, fields, options) {
|
|
2313
|
-
var
|
|
2327
|
+
var _this276 = this;
|
|
2314
2328
|
return _asyncToGenerator(function* () {
|
|
2315
2329
|
project_id = encodeParam(project_id);
|
|
2316
|
-
return
|
|
2330
|
+
return _this276.post("/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2317
2331
|
fields
|
|
2318
2332
|
}, null, options);
|
|
2319
2333
|
})();
|
|
2320
2334
|
}
|
|
2321
2335
|
all_git_branches(project_id, options) {
|
|
2322
|
-
var
|
|
2336
|
+
var _this277 = this;
|
|
2323
2337
|
return _asyncToGenerator(function* () {
|
|
2324
2338
|
project_id = encodeParam(project_id);
|
|
2325
|
-
return
|
|
2339
|
+
return _this277.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2326
2340
|
})();
|
|
2327
2341
|
}
|
|
2328
2342
|
git_branch(project_id, options) {
|
|
2329
|
-
var
|
|
2343
|
+
var _this278 = this;
|
|
2330
2344
|
return _asyncToGenerator(function* () {
|
|
2331
2345
|
project_id = encodeParam(project_id);
|
|
2332
|
-
return
|
|
2346
|
+
return _this278.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2333
2347
|
})();
|
|
2334
2348
|
}
|
|
2335
2349
|
update_git_branch(project_id, body, options) {
|
|
2336
|
-
var
|
|
2350
|
+
var _this279 = this;
|
|
2337
2351
|
return _asyncToGenerator(function* () {
|
|
2338
2352
|
project_id = encodeParam(project_id);
|
|
2339
|
-
return
|
|
2353
|
+
return _this279.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2340
2354
|
})();
|
|
2341
2355
|
}
|
|
2342
2356
|
create_git_branch(project_id, body, options) {
|
|
2343
|
-
var
|
|
2357
|
+
var _this280 = this;
|
|
2344
2358
|
return _asyncToGenerator(function* () {
|
|
2345
2359
|
project_id = encodeParam(project_id);
|
|
2346
|
-
return
|
|
2360
|
+
return _this280.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2347
2361
|
})();
|
|
2348
2362
|
}
|
|
2349
2363
|
find_git_branch(project_id, branch_name, options) {
|
|
2350
|
-
var
|
|
2364
|
+
var _this281 = this;
|
|
2351
2365
|
return _asyncToGenerator(function* () {
|
|
2352
2366
|
project_id = encodeParam(project_id);
|
|
2353
2367
|
branch_name = encodeParam(branch_name);
|
|
2354
|
-
return
|
|
2368
|
+
return _this281.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2355
2369
|
})();
|
|
2356
2370
|
}
|
|
2357
2371
|
delete_git_branch(project_id, branch_name, options) {
|
|
2358
|
-
var
|
|
2372
|
+
var _this282 = this;
|
|
2359
2373
|
return _asyncToGenerator(function* () {
|
|
2360
2374
|
project_id = encodeParam(project_id);
|
|
2361
2375
|
branch_name = encodeParam(branch_name);
|
|
2362
|
-
return
|
|
2376
|
+
return _this282.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2363
2377
|
})();
|
|
2364
2378
|
}
|
|
2365
2379
|
deploy_ref_to_production(request, options) {
|
|
2366
|
-
var
|
|
2380
|
+
var _this283 = this;
|
|
2367
2381
|
return _asyncToGenerator(function* () {
|
|
2368
2382
|
request.project_id = encodeParam(request.project_id);
|
|
2369
|
-
return
|
|
2383
|
+
return _this283.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2370
2384
|
branch: request.branch,
|
|
2371
2385
|
ref: request.ref
|
|
2372
2386
|
}, null, options);
|
|
2373
2387
|
})();
|
|
2374
2388
|
}
|
|
2375
2389
|
deploy_to_production(project_id, options) {
|
|
2376
|
-
var
|
|
2390
|
+
var _this284 = this;
|
|
2377
2391
|
return _asyncToGenerator(function* () {
|
|
2378
2392
|
project_id = encodeParam(project_id);
|
|
2379
|
-
return
|
|
2393
|
+
return _this284.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2380
2394
|
})();
|
|
2381
2395
|
}
|
|
2382
2396
|
reset_project_to_production(project_id, options) {
|
|
2383
|
-
var
|
|
2397
|
+
var _this285 = this;
|
|
2384
2398
|
return _asyncToGenerator(function* () {
|
|
2385
2399
|
project_id = encodeParam(project_id);
|
|
2386
|
-
return
|
|
2400
|
+
return _this285.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2387
2401
|
})();
|
|
2388
2402
|
}
|
|
2389
2403
|
reset_project_to_remote(project_id, options) {
|
|
2390
|
-
var
|
|
2404
|
+
var _this286 = this;
|
|
2391
2405
|
return _asyncToGenerator(function* () {
|
|
2392
2406
|
project_id = encodeParam(project_id);
|
|
2393
|
-
return
|
|
2407
|
+
return _this286.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2394
2408
|
})();
|
|
2395
2409
|
}
|
|
2396
2410
|
all_projects(fields, options) {
|
|
2397
|
-
var
|
|
2411
|
+
var _this287 = this;
|
|
2398
2412
|
return _asyncToGenerator(function* () {
|
|
2399
|
-
return
|
|
2413
|
+
return _this287.get('/projects', {
|
|
2400
2414
|
fields
|
|
2401
2415
|
}, null, options);
|
|
2402
2416
|
})();
|
|
2403
2417
|
}
|
|
2404
2418
|
create_project(body, options) {
|
|
2405
|
-
var
|
|
2419
|
+
var _this288 = this;
|
|
2406
2420
|
return _asyncToGenerator(function* () {
|
|
2407
|
-
return
|
|
2421
|
+
return _this288.post('/projects', null, body, options);
|
|
2408
2422
|
})();
|
|
2409
2423
|
}
|
|
2410
2424
|
project(project_id, fields, options) {
|
|
2411
|
-
var
|
|
2425
|
+
var _this289 = this;
|
|
2412
2426
|
return _asyncToGenerator(function* () {
|
|
2413
2427
|
project_id = encodeParam(project_id);
|
|
2414
|
-
return
|
|
2428
|
+
return _this289.get("/projects/".concat(project_id), {
|
|
2415
2429
|
fields
|
|
2416
2430
|
}, null, options);
|
|
2417
2431
|
})();
|
|
2418
2432
|
}
|
|
2419
2433
|
update_project(project_id, body, fields, options) {
|
|
2420
|
-
var
|
|
2434
|
+
var _this290 = this;
|
|
2421
2435
|
return _asyncToGenerator(function* () {
|
|
2422
2436
|
project_id = encodeParam(project_id);
|
|
2423
|
-
return
|
|
2437
|
+
return _this290.patch("/projects/".concat(project_id), {
|
|
2424
2438
|
fields
|
|
2425
2439
|
}, body, options);
|
|
2426
2440
|
})();
|
|
2427
2441
|
}
|
|
2428
2442
|
manifest(project_id, options) {
|
|
2429
|
-
var
|
|
2443
|
+
var _this291 = this;
|
|
2430
2444
|
return _asyncToGenerator(function* () {
|
|
2431
2445
|
project_id = encodeParam(project_id);
|
|
2432
|
-
return
|
|
2446
|
+
return _this291.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2433
2447
|
})();
|
|
2434
2448
|
}
|
|
2435
2449
|
git_deploy_key(project_id, options) {
|
|
2436
|
-
var
|
|
2450
|
+
var _this292 = this;
|
|
2437
2451
|
return _asyncToGenerator(function* () {
|
|
2438
2452
|
project_id = encodeParam(project_id);
|
|
2439
|
-
return
|
|
2453
|
+
return _this292.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2440
2454
|
})();
|
|
2441
2455
|
}
|
|
2442
2456
|
create_git_deploy_key(project_id, options) {
|
|
2443
|
-
var
|
|
2457
|
+
var _this293 = this;
|
|
2444
2458
|
return _asyncToGenerator(function* () {
|
|
2445
2459
|
project_id = encodeParam(project_id);
|
|
2446
|
-
return
|
|
2460
|
+
return _this293.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2447
2461
|
})();
|
|
2448
2462
|
}
|
|
2449
2463
|
project_validation_results(project_id, fields, options) {
|
|
2450
|
-
var
|
|
2464
|
+
var _this294 = this;
|
|
2451
2465
|
return _asyncToGenerator(function* () {
|
|
2452
2466
|
project_id = encodeParam(project_id);
|
|
2453
|
-
return
|
|
2467
|
+
return _this294.get("/projects/".concat(project_id, "/validate"), {
|
|
2454
2468
|
fields
|
|
2455
2469
|
}, null, options);
|
|
2456
2470
|
})();
|
|
2457
2471
|
}
|
|
2458
2472
|
validate_project(project_id, fields, options) {
|
|
2459
|
-
var
|
|
2473
|
+
var _this295 = this;
|
|
2460
2474
|
return _asyncToGenerator(function* () {
|
|
2461
2475
|
project_id = encodeParam(project_id);
|
|
2462
|
-
return
|
|
2476
|
+
return _this295.post("/projects/".concat(project_id, "/validate"), {
|
|
2463
2477
|
fields
|
|
2464
2478
|
}, null, options);
|
|
2465
2479
|
})();
|
|
2466
2480
|
}
|
|
2467
2481
|
project_workspace(project_id, fields, options) {
|
|
2468
|
-
var
|
|
2482
|
+
var _this296 = this;
|
|
2469
2483
|
return _asyncToGenerator(function* () {
|
|
2470
2484
|
project_id = encodeParam(project_id);
|
|
2471
|
-
return
|
|
2485
|
+
return _this296.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2472
2486
|
fields
|
|
2473
2487
|
}, null, options);
|
|
2474
2488
|
})();
|
|
2475
2489
|
}
|
|
2476
2490
|
all_project_files(project_id, fields, options) {
|
|
2477
|
-
var
|
|
2491
|
+
var _this297 = this;
|
|
2478
2492
|
return _asyncToGenerator(function* () {
|
|
2479
2493
|
project_id = encodeParam(project_id);
|
|
2480
|
-
return
|
|
2494
|
+
return _this297.get("/projects/".concat(project_id, "/files"), {
|
|
2481
2495
|
fields
|
|
2482
2496
|
}, null, options);
|
|
2483
2497
|
})();
|
|
2484
2498
|
}
|
|
2485
2499
|
project_file(project_id, file_id, fields, options) {
|
|
2486
|
-
var
|
|
2500
|
+
var _this298 = this;
|
|
2487
2501
|
return _asyncToGenerator(function* () {
|
|
2488
2502
|
project_id = encodeParam(project_id);
|
|
2489
|
-
return
|
|
2503
|
+
return _this298.get("/projects/".concat(project_id, "/files/file"), {
|
|
2490
2504
|
file_id,
|
|
2491
2505
|
fields
|
|
2492
2506
|
}, null, options);
|
|
2493
2507
|
})();
|
|
2494
2508
|
}
|
|
2495
2509
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2496
|
-
var
|
|
2510
|
+
var _this299 = this;
|
|
2497
2511
|
return _asyncToGenerator(function* () {
|
|
2498
2512
|
project_id = encodeParam(project_id);
|
|
2499
|
-
return
|
|
2513
|
+
return _this299.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2500
2514
|
remote_url
|
|
2501
2515
|
}, null, options);
|
|
2502
2516
|
})();
|
|
2503
2517
|
}
|
|
2504
2518
|
run_git_connection_test(request, options) {
|
|
2505
|
-
var
|
|
2519
|
+
var _this300 = this;
|
|
2506
2520
|
return _asyncToGenerator(function* () {
|
|
2507
2521
|
request.project_id = encodeParam(request.project_id);
|
|
2508
2522
|
request.test_id = encodeParam(request.test_id);
|
|
2509
|
-
return
|
|
2523
|
+
return _this300.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2510
2524
|
remote_url: request.remote_url,
|
|
2511
2525
|
use_production: request.use_production
|
|
2512
2526
|
}, null, options);
|
|
2513
2527
|
})();
|
|
2514
2528
|
}
|
|
2515
2529
|
all_lookml_tests(project_id, file_id, options) {
|
|
2516
|
-
var
|
|
2530
|
+
var _this301 = this;
|
|
2517
2531
|
return _asyncToGenerator(function* () {
|
|
2518
2532
|
project_id = encodeParam(project_id);
|
|
2519
|
-
return
|
|
2533
|
+
return _this301.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2520
2534
|
file_id
|
|
2521
2535
|
}, null, options);
|
|
2522
2536
|
})();
|
|
2523
2537
|
}
|
|
2524
2538
|
run_lookml_test(request, options) {
|
|
2525
|
-
var
|
|
2539
|
+
var _this302 = this;
|
|
2526
2540
|
return _asyncToGenerator(function* () {
|
|
2527
2541
|
request.project_id = encodeParam(request.project_id);
|
|
2528
|
-
return
|
|
2542
|
+
return _this302.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2529
2543
|
file_id: request.file_id,
|
|
2530
2544
|
test: request.test,
|
|
2531
2545
|
model: request.model
|
|
@@ -2533,10 +2547,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
2533
2547
|
})();
|
|
2534
2548
|
}
|
|
2535
2549
|
tag_ref(request, options) {
|
|
2536
|
-
var
|
|
2550
|
+
var _this303 = this;
|
|
2537
2551
|
return _asyncToGenerator(function* () {
|
|
2538
2552
|
request.project_id = encodeParam(request.project_id);
|
|
2539
|
-
return
|
|
2553
|
+
return _this303.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2540
2554
|
commit_sha: request.commit_sha,
|
|
2541
2555
|
tag_name: request.tag_name,
|
|
2542
2556
|
tag_message: request.tag_message
|
|
@@ -2544,32 +2558,32 @@ export class Looker40SDK extends APIMethods {
|
|
|
2544
2558
|
})();
|
|
2545
2559
|
}
|
|
2546
2560
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2547
|
-
var
|
|
2561
|
+
var _this304 = this;
|
|
2548
2562
|
return _asyncToGenerator(function* () {
|
|
2549
2563
|
root_project_id = encodeParam(root_project_id);
|
|
2550
2564
|
credential_id = encodeParam(credential_id);
|
|
2551
|
-
return
|
|
2565
|
+
return _this304.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2552
2566
|
})();
|
|
2553
2567
|
}
|
|
2554
2568
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2555
|
-
var
|
|
2569
|
+
var _this305 = this;
|
|
2556
2570
|
return _asyncToGenerator(function* () {
|
|
2557
2571
|
root_project_id = encodeParam(root_project_id);
|
|
2558
2572
|
credential_id = encodeParam(credential_id);
|
|
2559
|
-
return
|
|
2573
|
+
return _this305.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2560
2574
|
})();
|
|
2561
2575
|
}
|
|
2562
2576
|
get_all_repository_credentials(root_project_id, options) {
|
|
2563
|
-
var
|
|
2577
|
+
var _this306 = this;
|
|
2564
2578
|
return _asyncToGenerator(function* () {
|
|
2565
2579
|
root_project_id = encodeParam(root_project_id);
|
|
2566
|
-
return
|
|
2580
|
+
return _this306.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2567
2581
|
})();
|
|
2568
2582
|
}
|
|
2569
2583
|
create_query_task(request, options) {
|
|
2570
|
-
var
|
|
2584
|
+
var _this307 = this;
|
|
2571
2585
|
return _asyncToGenerator(function* () {
|
|
2572
|
-
return
|
|
2586
|
+
return _this307.post('/query_tasks', {
|
|
2573
2587
|
limit: request.limit,
|
|
2574
2588
|
apply_formatting: request.apply_formatting,
|
|
2575
2589
|
apply_vis: request.apply_vis,
|
|
@@ -2585,61 +2599,61 @@ export class Looker40SDK extends APIMethods {
|
|
|
2585
2599
|
})();
|
|
2586
2600
|
}
|
|
2587
2601
|
query_task_multi_results(query_task_ids, options) {
|
|
2588
|
-
var
|
|
2602
|
+
var _this308 = this;
|
|
2589
2603
|
return _asyncToGenerator(function* () {
|
|
2590
|
-
return
|
|
2604
|
+
return _this308.get('/query_tasks/multi_results', {
|
|
2591
2605
|
query_task_ids
|
|
2592
2606
|
}, null, options);
|
|
2593
2607
|
})();
|
|
2594
2608
|
}
|
|
2595
2609
|
query_task(query_task_id, fields, options) {
|
|
2596
|
-
var
|
|
2610
|
+
var _this309 = this;
|
|
2597
2611
|
return _asyncToGenerator(function* () {
|
|
2598
2612
|
query_task_id = encodeParam(query_task_id);
|
|
2599
|
-
return
|
|
2613
|
+
return _this309.get("/query_tasks/".concat(query_task_id), {
|
|
2600
2614
|
fields
|
|
2601
2615
|
}, null, options);
|
|
2602
2616
|
})();
|
|
2603
2617
|
}
|
|
2604
2618
|
query_task_results(query_task_id, options) {
|
|
2605
|
-
var
|
|
2619
|
+
var _this310 = this;
|
|
2606
2620
|
return _asyncToGenerator(function* () {
|
|
2607
2621
|
query_task_id = encodeParam(query_task_id);
|
|
2608
|
-
return
|
|
2622
|
+
return _this310.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2609
2623
|
})();
|
|
2610
2624
|
}
|
|
2611
2625
|
query(query_id, fields, options) {
|
|
2612
|
-
var
|
|
2626
|
+
var _this311 = this;
|
|
2613
2627
|
return _asyncToGenerator(function* () {
|
|
2614
2628
|
query_id = encodeParam(query_id);
|
|
2615
|
-
return
|
|
2629
|
+
return _this311.get("/queries/".concat(query_id), {
|
|
2616
2630
|
fields
|
|
2617
2631
|
}, null, options);
|
|
2618
2632
|
})();
|
|
2619
2633
|
}
|
|
2620
2634
|
query_for_slug(slug, fields, options) {
|
|
2621
|
-
var
|
|
2635
|
+
var _this312 = this;
|
|
2622
2636
|
return _asyncToGenerator(function* () {
|
|
2623
2637
|
slug = encodeParam(slug);
|
|
2624
|
-
return
|
|
2638
|
+
return _this312.get("/queries/slug/".concat(slug), {
|
|
2625
2639
|
fields
|
|
2626
2640
|
}, null, options);
|
|
2627
2641
|
})();
|
|
2628
2642
|
}
|
|
2629
2643
|
create_query(body, fields, options) {
|
|
2630
|
-
var
|
|
2644
|
+
var _this313 = this;
|
|
2631
2645
|
return _asyncToGenerator(function* () {
|
|
2632
|
-
return
|
|
2646
|
+
return _this313.post('/queries', {
|
|
2633
2647
|
fields
|
|
2634
2648
|
}, body, options);
|
|
2635
2649
|
})();
|
|
2636
2650
|
}
|
|
2637
2651
|
run_query(request, options) {
|
|
2638
|
-
var
|
|
2652
|
+
var _this314 = this;
|
|
2639
2653
|
return _asyncToGenerator(function* () {
|
|
2640
2654
|
request.query_id = encodeParam(request.query_id);
|
|
2641
2655
|
request.result_format = encodeParam(request.result_format);
|
|
2642
|
-
return
|
|
2656
|
+
return _this314.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2643
2657
|
limit: request.limit,
|
|
2644
2658
|
apply_formatting: request.apply_formatting,
|
|
2645
2659
|
apply_vis: request.apply_vis,
|
|
@@ -2657,10 +2671,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
2657
2671
|
})();
|
|
2658
2672
|
}
|
|
2659
2673
|
run_inline_query(request, options) {
|
|
2660
|
-
var
|
|
2674
|
+
var _this315 = this;
|
|
2661
2675
|
return _asyncToGenerator(function* () {
|
|
2662
2676
|
request.result_format = encodeParam(request.result_format);
|
|
2663
|
-
return
|
|
2677
|
+
return _this315.post("/queries/run/".concat(request.result_format), {
|
|
2664
2678
|
limit: request.limit,
|
|
2665
2679
|
apply_formatting: request.apply_formatting,
|
|
2666
2680
|
apply_vis: request.apply_vis,
|
|
@@ -2677,73 +2691,73 @@ export class Looker40SDK extends APIMethods {
|
|
|
2677
2691
|
})();
|
|
2678
2692
|
}
|
|
2679
2693
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2680
|
-
var
|
|
2694
|
+
var _this316 = this;
|
|
2681
2695
|
return _asyncToGenerator(function* () {
|
|
2682
2696
|
model_name = encodeParam(model_name);
|
|
2683
2697
|
view_name = encodeParam(view_name);
|
|
2684
2698
|
result_format = encodeParam(result_format);
|
|
2685
|
-
return
|
|
2699
|
+
return _this316.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2686
2700
|
})();
|
|
2687
2701
|
}
|
|
2688
2702
|
merge_query(merge_query_id, fields, options) {
|
|
2689
|
-
var
|
|
2703
|
+
var _this317 = this;
|
|
2690
2704
|
return _asyncToGenerator(function* () {
|
|
2691
2705
|
merge_query_id = encodeParam(merge_query_id);
|
|
2692
|
-
return
|
|
2706
|
+
return _this317.get("/merge_queries/".concat(merge_query_id), {
|
|
2693
2707
|
fields
|
|
2694
2708
|
}, null, options);
|
|
2695
2709
|
})();
|
|
2696
2710
|
}
|
|
2697
2711
|
create_merge_query(body, fields, options) {
|
|
2698
|
-
var
|
|
2712
|
+
var _this318 = this;
|
|
2699
2713
|
return _asyncToGenerator(function* () {
|
|
2700
|
-
return
|
|
2714
|
+
return _this318.post('/merge_queries', {
|
|
2701
2715
|
fields
|
|
2702
2716
|
}, body, options);
|
|
2703
2717
|
})();
|
|
2704
2718
|
}
|
|
2705
2719
|
all_running_queries(options) {
|
|
2706
|
-
var
|
|
2720
|
+
var _this319 = this;
|
|
2707
2721
|
return _asyncToGenerator(function* () {
|
|
2708
|
-
return
|
|
2722
|
+
return _this319.get('/running_queries', null, null, options);
|
|
2709
2723
|
})();
|
|
2710
2724
|
}
|
|
2711
2725
|
kill_query(query_task_id, options) {
|
|
2712
|
-
var
|
|
2726
|
+
var _this320 = this;
|
|
2713
2727
|
return _asyncToGenerator(function* () {
|
|
2714
2728
|
query_task_id = encodeParam(query_task_id);
|
|
2715
|
-
return
|
|
2729
|
+
return _this320.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2716
2730
|
})();
|
|
2717
2731
|
}
|
|
2718
2732
|
create_sql_query(body, options) {
|
|
2719
|
-
var
|
|
2733
|
+
var _this321 = this;
|
|
2720
2734
|
return _asyncToGenerator(function* () {
|
|
2721
|
-
return
|
|
2735
|
+
return _this321.post('/sql_queries', null, body, options);
|
|
2722
2736
|
})();
|
|
2723
2737
|
}
|
|
2724
2738
|
sql_query(slug, options) {
|
|
2725
|
-
var
|
|
2739
|
+
var _this322 = this;
|
|
2726
2740
|
return _asyncToGenerator(function* () {
|
|
2727
2741
|
slug = encodeParam(slug);
|
|
2728
|
-
return
|
|
2742
|
+
return _this322.get("/sql_queries/".concat(slug), null, null, options);
|
|
2729
2743
|
})();
|
|
2730
2744
|
}
|
|
2731
2745
|
run_sql_query(slug, result_format, download, options) {
|
|
2732
|
-
var
|
|
2746
|
+
var _this323 = this;
|
|
2733
2747
|
return _asyncToGenerator(function* () {
|
|
2734
2748
|
slug = encodeParam(slug);
|
|
2735
2749
|
result_format = encodeParam(result_format);
|
|
2736
|
-
return
|
|
2750
|
+
return _this323.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2737
2751
|
download
|
|
2738
2752
|
}, null, options);
|
|
2739
2753
|
})();
|
|
2740
2754
|
}
|
|
2741
2755
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
2742
|
-
var
|
|
2756
|
+
var _this324 = this;
|
|
2743
2757
|
return _asyncToGenerator(function* () {
|
|
2744
2758
|
look_id = encodeParam(look_id);
|
|
2745
2759
|
result_format = encodeParam(result_format);
|
|
2746
|
-
return
|
|
2760
|
+
return _this324.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2747
2761
|
width,
|
|
2748
2762
|
height,
|
|
2749
2763
|
fields
|
|
@@ -2751,11 +2765,11 @@ export class Looker40SDK extends APIMethods {
|
|
|
2751
2765
|
})();
|
|
2752
2766
|
}
|
|
2753
2767
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
2754
|
-
var
|
|
2768
|
+
var _this325 = this;
|
|
2755
2769
|
return _asyncToGenerator(function* () {
|
|
2756
2770
|
query_id = encodeParam(query_id);
|
|
2757
2771
|
result_format = encodeParam(result_format);
|
|
2758
|
-
return
|
|
2772
|
+
return _this325.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2759
2773
|
width,
|
|
2760
2774
|
height,
|
|
2761
2775
|
fields
|
|
@@ -2763,11 +2777,11 @@ export class Looker40SDK extends APIMethods {
|
|
|
2763
2777
|
})();
|
|
2764
2778
|
}
|
|
2765
2779
|
create_dashboard_render_task(request, options) {
|
|
2766
|
-
var
|
|
2780
|
+
var _this326 = this;
|
|
2767
2781
|
return _asyncToGenerator(function* () {
|
|
2768
2782
|
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
2769
2783
|
request.result_format = encodeParam(request.result_format);
|
|
2770
|
-
return
|
|
2784
|
+
return _this326.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2771
2785
|
width: request.width,
|
|
2772
2786
|
height: request.height,
|
|
2773
2787
|
fields: request.fields,
|
|
@@ -2779,27 +2793,27 @@ export class Looker40SDK extends APIMethods {
|
|
|
2779
2793
|
})();
|
|
2780
2794
|
}
|
|
2781
2795
|
render_task(render_task_id, fields, options) {
|
|
2782
|
-
var
|
|
2796
|
+
var _this327 = this;
|
|
2783
2797
|
return _asyncToGenerator(function* () {
|
|
2784
2798
|
render_task_id = encodeParam(render_task_id);
|
|
2785
|
-
return
|
|
2799
|
+
return _this327.get("/render_tasks/".concat(render_task_id), {
|
|
2786
2800
|
fields
|
|
2787
2801
|
}, null, options);
|
|
2788
2802
|
})();
|
|
2789
2803
|
}
|
|
2790
2804
|
render_task_results(render_task_id, options) {
|
|
2791
|
-
var
|
|
2805
|
+
var _this328 = this;
|
|
2792
2806
|
return _asyncToGenerator(function* () {
|
|
2793
2807
|
render_task_id = encodeParam(render_task_id);
|
|
2794
|
-
return
|
|
2808
|
+
return _this328.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2795
2809
|
})();
|
|
2796
2810
|
}
|
|
2797
2811
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
2798
|
-
var
|
|
2812
|
+
var _this329 = this;
|
|
2799
2813
|
return _asyncToGenerator(function* () {
|
|
2800
2814
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
2801
2815
|
result_format = encodeParam(result_format);
|
|
2802
|
-
return
|
|
2816
|
+
return _this329.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2803
2817
|
width,
|
|
2804
2818
|
height,
|
|
2805
2819
|
fields
|
|
@@ -2807,9 +2821,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
2807
2821
|
})();
|
|
2808
2822
|
}
|
|
2809
2823
|
search_model_sets(request, options) {
|
|
2810
|
-
var
|
|
2824
|
+
var _this330 = this;
|
|
2811
2825
|
return _asyncToGenerator(function* () {
|
|
2812
|
-
return
|
|
2826
|
+
return _this330.get('/model_sets/search', {
|
|
2813
2827
|
fields: request.fields,
|
|
2814
2828
|
limit: request.limit,
|
|
2815
2829
|
offset: request.offset,
|
|
@@ -2823,52 +2837,52 @@ export class Looker40SDK extends APIMethods {
|
|
|
2823
2837
|
})();
|
|
2824
2838
|
}
|
|
2825
2839
|
model_set(model_set_id, fields, options) {
|
|
2826
|
-
var
|
|
2840
|
+
var _this331 = this;
|
|
2827
2841
|
return _asyncToGenerator(function* () {
|
|
2828
2842
|
model_set_id = encodeParam(model_set_id);
|
|
2829
|
-
return
|
|
2843
|
+
return _this331.get("/model_sets/".concat(model_set_id), {
|
|
2830
2844
|
fields
|
|
2831
2845
|
}, null, options);
|
|
2832
2846
|
})();
|
|
2833
2847
|
}
|
|
2834
2848
|
update_model_set(model_set_id, body, options) {
|
|
2835
|
-
var
|
|
2849
|
+
var _this332 = this;
|
|
2836
2850
|
return _asyncToGenerator(function* () {
|
|
2837
2851
|
model_set_id = encodeParam(model_set_id);
|
|
2838
|
-
return
|
|
2852
|
+
return _this332.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2839
2853
|
})();
|
|
2840
2854
|
}
|
|
2841
2855
|
delete_model_set(model_set_id, options) {
|
|
2842
|
-
var
|
|
2856
|
+
var _this333 = this;
|
|
2843
2857
|
return _asyncToGenerator(function* () {
|
|
2844
2858
|
model_set_id = encodeParam(model_set_id);
|
|
2845
|
-
return
|
|
2859
|
+
return _this333.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2846
2860
|
})();
|
|
2847
2861
|
}
|
|
2848
2862
|
all_model_sets(fields, options) {
|
|
2849
|
-
var
|
|
2863
|
+
var _this334 = this;
|
|
2850
2864
|
return _asyncToGenerator(function* () {
|
|
2851
|
-
return
|
|
2865
|
+
return _this334.get('/model_sets', {
|
|
2852
2866
|
fields
|
|
2853
2867
|
}, null, options);
|
|
2854
2868
|
})();
|
|
2855
2869
|
}
|
|
2856
2870
|
create_model_set(body, options) {
|
|
2857
|
-
var
|
|
2871
|
+
var _this335 = this;
|
|
2858
2872
|
return _asyncToGenerator(function* () {
|
|
2859
|
-
return
|
|
2873
|
+
return _this335.post('/model_sets', null, body, options);
|
|
2860
2874
|
})();
|
|
2861
2875
|
}
|
|
2862
2876
|
all_permissions(options) {
|
|
2863
|
-
var
|
|
2877
|
+
var _this336 = this;
|
|
2864
2878
|
return _asyncToGenerator(function* () {
|
|
2865
|
-
return
|
|
2879
|
+
return _this336.get('/permissions', null, null, options);
|
|
2866
2880
|
})();
|
|
2867
2881
|
}
|
|
2868
2882
|
search_permission_sets(request, options) {
|
|
2869
|
-
var
|
|
2883
|
+
var _this337 = this;
|
|
2870
2884
|
return _asyncToGenerator(function* () {
|
|
2871
|
-
return
|
|
2885
|
+
return _this337.get('/permission_sets/search', {
|
|
2872
2886
|
fields: request.fields,
|
|
2873
2887
|
limit: request.limit,
|
|
2874
2888
|
offset: request.offset,
|
|
@@ -2882,61 +2896,61 @@ export class Looker40SDK extends APIMethods {
|
|
|
2882
2896
|
})();
|
|
2883
2897
|
}
|
|
2884
2898
|
permission_set(permission_set_id, fields, options) {
|
|
2885
|
-
var
|
|
2899
|
+
var _this338 = this;
|
|
2886
2900
|
return _asyncToGenerator(function* () {
|
|
2887
2901
|
permission_set_id = encodeParam(permission_set_id);
|
|
2888
|
-
return
|
|
2902
|
+
return _this338.get("/permission_sets/".concat(permission_set_id), {
|
|
2889
2903
|
fields
|
|
2890
2904
|
}, null, options);
|
|
2891
2905
|
})();
|
|
2892
2906
|
}
|
|
2893
2907
|
update_permission_set(permission_set_id, body, options) {
|
|
2894
|
-
var
|
|
2908
|
+
var _this339 = this;
|
|
2895
2909
|
return _asyncToGenerator(function* () {
|
|
2896
2910
|
permission_set_id = encodeParam(permission_set_id);
|
|
2897
|
-
return
|
|
2911
|
+
return _this339.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2898
2912
|
})();
|
|
2899
2913
|
}
|
|
2900
2914
|
delete_permission_set(permission_set_id, options) {
|
|
2901
|
-
var
|
|
2915
|
+
var _this340 = this;
|
|
2902
2916
|
return _asyncToGenerator(function* () {
|
|
2903
2917
|
permission_set_id = encodeParam(permission_set_id);
|
|
2904
|
-
return
|
|
2918
|
+
return _this340.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2905
2919
|
})();
|
|
2906
2920
|
}
|
|
2907
2921
|
all_permission_sets(fields, options) {
|
|
2908
|
-
var
|
|
2922
|
+
var _this341 = this;
|
|
2909
2923
|
return _asyncToGenerator(function* () {
|
|
2910
|
-
return
|
|
2924
|
+
return _this341.get('/permission_sets', {
|
|
2911
2925
|
fields
|
|
2912
2926
|
}, null, options);
|
|
2913
2927
|
})();
|
|
2914
2928
|
}
|
|
2915
2929
|
create_permission_set(body, options) {
|
|
2916
|
-
var
|
|
2930
|
+
var _this342 = this;
|
|
2917
2931
|
return _asyncToGenerator(function* () {
|
|
2918
|
-
return
|
|
2932
|
+
return _this342.post('/permission_sets', null, body, options);
|
|
2919
2933
|
})();
|
|
2920
2934
|
}
|
|
2921
2935
|
all_roles(request, options) {
|
|
2922
|
-
var
|
|
2936
|
+
var _this343 = this;
|
|
2923
2937
|
return _asyncToGenerator(function* () {
|
|
2924
|
-
return
|
|
2938
|
+
return _this343.get('/roles', {
|
|
2925
2939
|
fields: request.fields,
|
|
2926
2940
|
ids: request.ids
|
|
2927
2941
|
}, null, options);
|
|
2928
2942
|
})();
|
|
2929
2943
|
}
|
|
2930
2944
|
create_role(body, options) {
|
|
2931
|
-
var
|
|
2945
|
+
var _this344 = this;
|
|
2932
2946
|
return _asyncToGenerator(function* () {
|
|
2933
|
-
return
|
|
2947
|
+
return _this344.post('/roles', null, body, options);
|
|
2934
2948
|
})();
|
|
2935
2949
|
}
|
|
2936
2950
|
search_roles(request, options) {
|
|
2937
|
-
var
|
|
2951
|
+
var _this345 = this;
|
|
2938
2952
|
return _asyncToGenerator(function* () {
|
|
2939
|
-
return
|
|
2953
|
+
return _this345.get('/roles/search', {
|
|
2940
2954
|
fields: request.fields,
|
|
2941
2955
|
limit: request.limit,
|
|
2942
2956
|
offset: request.offset,
|
|
@@ -2949,9 +2963,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
2949
2963
|
})();
|
|
2950
2964
|
}
|
|
2951
2965
|
search_roles_with_user_count(request, options) {
|
|
2952
|
-
var
|
|
2966
|
+
var _this346 = this;
|
|
2953
2967
|
return _asyncToGenerator(function* () {
|
|
2954
|
-
return
|
|
2968
|
+
return _this346.get('/roles/search/with_user_count', {
|
|
2955
2969
|
fields: request.fields,
|
|
2956
2970
|
limit: request.limit,
|
|
2957
2971
|
offset: request.offset,
|
|
@@ -2964,95 +2978,95 @@ export class Looker40SDK extends APIMethods {
|
|
|
2964
2978
|
})();
|
|
2965
2979
|
}
|
|
2966
2980
|
role(role_id, options) {
|
|
2967
|
-
var
|
|
2981
|
+
var _this347 = this;
|
|
2968
2982
|
return _asyncToGenerator(function* () {
|
|
2969
2983
|
role_id = encodeParam(role_id);
|
|
2970
|
-
return
|
|
2984
|
+
return _this347.get("/roles/".concat(role_id), null, null, options);
|
|
2971
2985
|
})();
|
|
2972
2986
|
}
|
|
2973
2987
|
update_role(role_id, body, options) {
|
|
2974
|
-
var
|
|
2988
|
+
var _this348 = this;
|
|
2975
2989
|
return _asyncToGenerator(function* () {
|
|
2976
2990
|
role_id = encodeParam(role_id);
|
|
2977
|
-
return
|
|
2991
|
+
return _this348.patch("/roles/".concat(role_id), null, body, options);
|
|
2978
2992
|
})();
|
|
2979
2993
|
}
|
|
2980
2994
|
delete_role(role_id, options) {
|
|
2981
|
-
var
|
|
2995
|
+
var _this349 = this;
|
|
2982
2996
|
return _asyncToGenerator(function* () {
|
|
2983
2997
|
role_id = encodeParam(role_id);
|
|
2984
|
-
return
|
|
2998
|
+
return _this349.delete("/roles/".concat(role_id), null, null, options);
|
|
2985
2999
|
})();
|
|
2986
3000
|
}
|
|
2987
3001
|
role_groups(role_id, fields, options) {
|
|
2988
|
-
var
|
|
3002
|
+
var _this350 = this;
|
|
2989
3003
|
return _asyncToGenerator(function* () {
|
|
2990
3004
|
role_id = encodeParam(role_id);
|
|
2991
|
-
return
|
|
3005
|
+
return _this350.get("/roles/".concat(role_id, "/groups"), {
|
|
2992
3006
|
fields
|
|
2993
3007
|
}, null, options);
|
|
2994
3008
|
})();
|
|
2995
3009
|
}
|
|
2996
3010
|
set_role_groups(role_id, body, options) {
|
|
2997
|
-
var
|
|
3011
|
+
var _this351 = this;
|
|
2998
3012
|
return _asyncToGenerator(function* () {
|
|
2999
3013
|
role_id = encodeParam(role_id);
|
|
3000
|
-
return
|
|
3014
|
+
return _this351.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3001
3015
|
})();
|
|
3002
3016
|
}
|
|
3003
3017
|
role_users(request, options) {
|
|
3004
|
-
var
|
|
3018
|
+
var _this352 = this;
|
|
3005
3019
|
return _asyncToGenerator(function* () {
|
|
3006
3020
|
request.role_id = encodeParam(request.role_id);
|
|
3007
|
-
return
|
|
3021
|
+
return _this352.get("/roles/".concat(request.role_id, "/users"), {
|
|
3008
3022
|
fields: request.fields,
|
|
3009
3023
|
direct_association_only: request.direct_association_only
|
|
3010
3024
|
}, null, options);
|
|
3011
3025
|
})();
|
|
3012
3026
|
}
|
|
3013
3027
|
set_role_users(role_id, body, options) {
|
|
3014
|
-
var
|
|
3028
|
+
var _this353 = this;
|
|
3015
3029
|
return _asyncToGenerator(function* () {
|
|
3016
3030
|
role_id = encodeParam(role_id);
|
|
3017
|
-
return
|
|
3031
|
+
return _this353.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3018
3032
|
})();
|
|
3019
3033
|
}
|
|
3020
3034
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3021
|
-
var
|
|
3035
|
+
var _this354 = this;
|
|
3022
3036
|
return _asyncToGenerator(function* () {
|
|
3023
3037
|
space_id = encodeParam(space_id);
|
|
3024
|
-
return
|
|
3038
|
+
return _this354.get("/scheduled_plans/space/".concat(space_id), {
|
|
3025
3039
|
fields
|
|
3026
3040
|
}, null, options);
|
|
3027
3041
|
})();
|
|
3028
3042
|
}
|
|
3029
3043
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3030
|
-
var
|
|
3044
|
+
var _this355 = this;
|
|
3031
3045
|
return _asyncToGenerator(function* () {
|
|
3032
3046
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3033
|
-
return
|
|
3047
|
+
return _this355.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3034
3048
|
fields
|
|
3035
3049
|
}, null, options);
|
|
3036
3050
|
})();
|
|
3037
3051
|
}
|
|
3038
3052
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3039
|
-
var
|
|
3053
|
+
var _this356 = this;
|
|
3040
3054
|
return _asyncToGenerator(function* () {
|
|
3041
3055
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3042
|
-
return
|
|
3056
|
+
return _this356.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3043
3057
|
})();
|
|
3044
3058
|
}
|
|
3045
3059
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3046
|
-
var
|
|
3060
|
+
var _this357 = this;
|
|
3047
3061
|
return _asyncToGenerator(function* () {
|
|
3048
3062
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3049
|
-
return
|
|
3063
|
+
return _this357.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3050
3064
|
})();
|
|
3051
3065
|
}
|
|
3052
3066
|
all_scheduled_plans(request, options) {
|
|
3053
|
-
var
|
|
3067
|
+
var _this358 = this;
|
|
3054
3068
|
return _asyncToGenerator(function* () {
|
|
3055
|
-
return
|
|
3069
|
+
return _this358.get('/scheduled_plans', {
|
|
3056
3070
|
user_id: request.user_id,
|
|
3057
3071
|
fields: request.fields,
|
|
3058
3072
|
all_users: request.all_users
|
|
@@ -3060,22 +3074,22 @@ export class Looker40SDK extends APIMethods {
|
|
|
3060
3074
|
})();
|
|
3061
3075
|
}
|
|
3062
3076
|
create_scheduled_plan(body, options) {
|
|
3063
|
-
var
|
|
3077
|
+
var _this359 = this;
|
|
3064
3078
|
return _asyncToGenerator(function* () {
|
|
3065
|
-
return
|
|
3079
|
+
return _this359.post('/scheduled_plans', null, body, options);
|
|
3066
3080
|
})();
|
|
3067
3081
|
}
|
|
3068
3082
|
scheduled_plan_run_once(body, options) {
|
|
3069
|
-
var
|
|
3083
|
+
var _this360 = this;
|
|
3070
3084
|
return _asyncToGenerator(function* () {
|
|
3071
|
-
return
|
|
3085
|
+
return _this360.post('/scheduled_plans/run_once', null, body, options);
|
|
3072
3086
|
})();
|
|
3073
3087
|
}
|
|
3074
3088
|
scheduled_plans_for_look(request, options) {
|
|
3075
|
-
var
|
|
3089
|
+
var _this361 = this;
|
|
3076
3090
|
return _asyncToGenerator(function* () {
|
|
3077
3091
|
request.look_id = encodeParam(request.look_id);
|
|
3078
|
-
return
|
|
3092
|
+
return _this361.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3079
3093
|
user_id: request.user_id,
|
|
3080
3094
|
fields: request.fields,
|
|
3081
3095
|
all_users: request.all_users
|
|
@@ -3083,10 +3097,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3083
3097
|
})();
|
|
3084
3098
|
}
|
|
3085
3099
|
scheduled_plans_for_dashboard(request, options) {
|
|
3086
|
-
var
|
|
3100
|
+
var _this362 = this;
|
|
3087
3101
|
return _asyncToGenerator(function* () {
|
|
3088
3102
|
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3089
|
-
return
|
|
3103
|
+
return _this362.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3090
3104
|
user_id: request.user_id,
|
|
3091
3105
|
all_users: request.all_users,
|
|
3092
3106
|
fields: request.fields
|
|
@@ -3094,10 +3108,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3094
3108
|
})();
|
|
3095
3109
|
}
|
|
3096
3110
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3097
|
-
var
|
|
3111
|
+
var _this363 = this;
|
|
3098
3112
|
return _asyncToGenerator(function* () {
|
|
3099
3113
|
request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
|
|
3100
|
-
return
|
|
3114
|
+
return _this363.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3101
3115
|
user_id: request.user_id,
|
|
3102
3116
|
fields: request.fields,
|
|
3103
3117
|
all_users: request.all_users
|
|
@@ -3105,63 +3119,63 @@ export class Looker40SDK extends APIMethods {
|
|
|
3105
3119
|
})();
|
|
3106
3120
|
}
|
|
3107
3121
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3108
|
-
var
|
|
3122
|
+
var _this364 = this;
|
|
3109
3123
|
return _asyncToGenerator(function* () {
|
|
3110
3124
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3111
|
-
return
|
|
3125
|
+
return _this364.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3112
3126
|
})();
|
|
3113
3127
|
}
|
|
3114
3128
|
session(options) {
|
|
3115
|
-
var
|
|
3129
|
+
var _this365 = this;
|
|
3116
3130
|
return _asyncToGenerator(function* () {
|
|
3117
|
-
return
|
|
3131
|
+
return _this365.get('/session', null, null, options);
|
|
3118
3132
|
})();
|
|
3119
3133
|
}
|
|
3120
3134
|
update_session(body, options) {
|
|
3121
|
-
var
|
|
3135
|
+
var _this366 = this;
|
|
3122
3136
|
return _asyncToGenerator(function* () {
|
|
3123
|
-
return
|
|
3137
|
+
return _this366.patch('/session', null, body, options);
|
|
3124
3138
|
})();
|
|
3125
3139
|
}
|
|
3126
3140
|
sql_interface_metadata(avatica_request, options) {
|
|
3127
|
-
var
|
|
3141
|
+
var _this367 = this;
|
|
3128
3142
|
return _asyncToGenerator(function* () {
|
|
3129
|
-
return
|
|
3143
|
+
return _this367.get('/sql_interface_queries/metadata', {
|
|
3130
3144
|
avatica_request
|
|
3131
3145
|
}, null, options);
|
|
3132
3146
|
})();
|
|
3133
3147
|
}
|
|
3134
3148
|
run_sql_interface_query(query_id, result_format, options) {
|
|
3135
|
-
var
|
|
3149
|
+
var _this368 = this;
|
|
3136
3150
|
return _asyncToGenerator(function* () {
|
|
3137
3151
|
result_format = encodeParam(result_format);
|
|
3138
|
-
return
|
|
3152
|
+
return _this368.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3139
3153
|
})();
|
|
3140
3154
|
}
|
|
3141
3155
|
create_sql_interface_query(body, options) {
|
|
3142
|
-
var
|
|
3156
|
+
var _this369 = this;
|
|
3143
3157
|
return _asyncToGenerator(function* () {
|
|
3144
|
-
return
|
|
3158
|
+
return _this369.post('/sql_interface_queries', null, body, options);
|
|
3145
3159
|
})();
|
|
3146
3160
|
}
|
|
3147
3161
|
all_themes(fields, options) {
|
|
3148
|
-
var
|
|
3162
|
+
var _this370 = this;
|
|
3149
3163
|
return _asyncToGenerator(function* () {
|
|
3150
|
-
return
|
|
3164
|
+
return _this370.get('/themes', {
|
|
3151
3165
|
fields
|
|
3152
3166
|
}, null, options);
|
|
3153
3167
|
})();
|
|
3154
3168
|
}
|
|
3155
3169
|
create_theme(body, options) {
|
|
3156
|
-
var
|
|
3170
|
+
var _this371 = this;
|
|
3157
3171
|
return _asyncToGenerator(function* () {
|
|
3158
|
-
return
|
|
3172
|
+
return _this371.post('/themes', null, body, options);
|
|
3159
3173
|
})();
|
|
3160
3174
|
}
|
|
3161
3175
|
search_themes(request, options) {
|
|
3162
|
-
var
|
|
3176
|
+
var _this372 = this;
|
|
3163
3177
|
return _asyncToGenerator(function* () {
|
|
3164
|
-
return
|
|
3178
|
+
return _this372.get('/themes/search', {
|
|
3165
3179
|
id: request.id,
|
|
3166
3180
|
name: request.name,
|
|
3167
3181
|
begin_at: request.begin_at,
|
|
@@ -3175,25 +3189,25 @@ export class Looker40SDK extends APIMethods {
|
|
|
3175
3189
|
})();
|
|
3176
3190
|
}
|
|
3177
3191
|
default_theme(ts, options) {
|
|
3178
|
-
var
|
|
3192
|
+
var _this373 = this;
|
|
3179
3193
|
return _asyncToGenerator(function* () {
|
|
3180
|
-
return
|
|
3194
|
+
return _this373.get('/themes/default', {
|
|
3181
3195
|
ts
|
|
3182
3196
|
}, null, options);
|
|
3183
3197
|
})();
|
|
3184
3198
|
}
|
|
3185
3199
|
set_default_theme(name, options) {
|
|
3186
|
-
var
|
|
3200
|
+
var _this374 = this;
|
|
3187
3201
|
return _asyncToGenerator(function* () {
|
|
3188
|
-
return
|
|
3202
|
+
return _this374.put('/themes/default', {
|
|
3189
3203
|
name
|
|
3190
3204
|
}, null, options);
|
|
3191
3205
|
})();
|
|
3192
3206
|
}
|
|
3193
3207
|
active_themes(request, options) {
|
|
3194
|
-
var
|
|
3208
|
+
var _this375 = this;
|
|
3195
3209
|
return _asyncToGenerator(function* () {
|
|
3196
|
-
return
|
|
3210
|
+
return _this375.get('/themes/active', {
|
|
3197
3211
|
name: request.name,
|
|
3198
3212
|
ts: request.ts,
|
|
3199
3213
|
fields: request.fields
|
|
@@ -3201,47 +3215,47 @@ export class Looker40SDK extends APIMethods {
|
|
|
3201
3215
|
})();
|
|
3202
3216
|
}
|
|
3203
3217
|
theme_or_default(name, ts, options) {
|
|
3204
|
-
var
|
|
3218
|
+
var _this376 = this;
|
|
3205
3219
|
return _asyncToGenerator(function* () {
|
|
3206
|
-
return
|
|
3220
|
+
return _this376.get('/themes/theme_or_default', {
|
|
3207
3221
|
name,
|
|
3208
3222
|
ts
|
|
3209
3223
|
}, null, options);
|
|
3210
3224
|
})();
|
|
3211
3225
|
}
|
|
3212
3226
|
validate_theme(body, options) {
|
|
3213
|
-
var
|
|
3227
|
+
var _this377 = this;
|
|
3214
3228
|
return _asyncToGenerator(function* () {
|
|
3215
|
-
return
|
|
3229
|
+
return _this377.post('/themes/validate', null, body, options);
|
|
3216
3230
|
})();
|
|
3217
3231
|
}
|
|
3218
3232
|
theme(theme_id, fields, options) {
|
|
3219
|
-
var
|
|
3233
|
+
var _this378 = this;
|
|
3220
3234
|
return _asyncToGenerator(function* () {
|
|
3221
3235
|
theme_id = encodeParam(theme_id);
|
|
3222
|
-
return
|
|
3236
|
+
return _this378.get("/themes/".concat(theme_id), {
|
|
3223
3237
|
fields
|
|
3224
3238
|
}, null, options);
|
|
3225
3239
|
})();
|
|
3226
3240
|
}
|
|
3227
3241
|
update_theme(theme_id, body, options) {
|
|
3228
|
-
var
|
|
3242
|
+
var _this379 = this;
|
|
3229
3243
|
return _asyncToGenerator(function* () {
|
|
3230
3244
|
theme_id = encodeParam(theme_id);
|
|
3231
|
-
return
|
|
3245
|
+
return _this379.patch("/themes/".concat(theme_id), null, body, options);
|
|
3232
3246
|
})();
|
|
3233
3247
|
}
|
|
3234
3248
|
delete_theme(theme_id, options) {
|
|
3235
|
-
var
|
|
3249
|
+
var _this380 = this;
|
|
3236
3250
|
return _asyncToGenerator(function* () {
|
|
3237
3251
|
theme_id = encodeParam(theme_id);
|
|
3238
|
-
return
|
|
3252
|
+
return _this380.delete("/themes/".concat(theme_id), null, null, options);
|
|
3239
3253
|
})();
|
|
3240
3254
|
}
|
|
3241
3255
|
search_credentials_email(request, options) {
|
|
3242
|
-
var
|
|
3256
|
+
var _this381 = this;
|
|
3243
3257
|
return _asyncToGenerator(function* () {
|
|
3244
|
-
return
|
|
3258
|
+
return _this381.get('/credentials_email/search', {
|
|
3245
3259
|
fields: request.fields,
|
|
3246
3260
|
limit: request.limit,
|
|
3247
3261
|
offset: request.offset,
|
|
@@ -3254,17 +3268,17 @@ export class Looker40SDK extends APIMethods {
|
|
|
3254
3268
|
})();
|
|
3255
3269
|
}
|
|
3256
3270
|
me(fields, options) {
|
|
3257
|
-
var
|
|
3271
|
+
var _this382 = this;
|
|
3258
3272
|
return _asyncToGenerator(function* () {
|
|
3259
|
-
return
|
|
3273
|
+
return _this382.get('/user', {
|
|
3260
3274
|
fields
|
|
3261
3275
|
}, null, options);
|
|
3262
3276
|
})();
|
|
3263
3277
|
}
|
|
3264
3278
|
all_users(request, options) {
|
|
3265
|
-
var
|
|
3279
|
+
var _this383 = this;
|
|
3266
3280
|
return _asyncToGenerator(function* () {
|
|
3267
|
-
return
|
|
3281
|
+
return _this383.get('/users', {
|
|
3268
3282
|
fields: request.fields,
|
|
3269
3283
|
page: request.page,
|
|
3270
3284
|
per_page: request.per_page,
|
|
@@ -3276,17 +3290,17 @@ export class Looker40SDK extends APIMethods {
|
|
|
3276
3290
|
})();
|
|
3277
3291
|
}
|
|
3278
3292
|
create_user(body, fields, options) {
|
|
3279
|
-
var
|
|
3293
|
+
var _this384 = this;
|
|
3280
3294
|
return _asyncToGenerator(function* () {
|
|
3281
|
-
return
|
|
3295
|
+
return _this384.post('/users', {
|
|
3282
3296
|
fields
|
|
3283
3297
|
}, body, options);
|
|
3284
3298
|
})();
|
|
3285
3299
|
}
|
|
3286
3300
|
search_users(request, options) {
|
|
3287
|
-
var
|
|
3301
|
+
var _this385 = this;
|
|
3288
3302
|
return _asyncToGenerator(function* () {
|
|
3289
|
-
return
|
|
3303
|
+
return _this385.get('/users/search', {
|
|
3290
3304
|
fields: request.fields,
|
|
3291
3305
|
page: request.page,
|
|
3292
3306
|
per_page: request.per_page,
|
|
@@ -3307,10 +3321,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3307
3321
|
})();
|
|
3308
3322
|
}
|
|
3309
3323
|
search_users_names(request, options) {
|
|
3310
|
-
var
|
|
3324
|
+
var _this386 = this;
|
|
3311
3325
|
return _asyncToGenerator(function* () {
|
|
3312
3326
|
request.pattern = encodeParam(request.pattern);
|
|
3313
|
-
return
|
|
3327
|
+
return _this386.get("/users/search/names/".concat(request.pattern), {
|
|
3314
3328
|
fields: request.fields,
|
|
3315
3329
|
page: request.page,
|
|
3316
3330
|
per_page: request.per_page,
|
|
@@ -3327,303 +3341,303 @@ export class Looker40SDK extends APIMethods {
|
|
|
3327
3341
|
})();
|
|
3328
3342
|
}
|
|
3329
3343
|
user(user_id, fields, options) {
|
|
3330
|
-
var
|
|
3344
|
+
var _this387 = this;
|
|
3331
3345
|
return _asyncToGenerator(function* () {
|
|
3332
3346
|
user_id = encodeParam(user_id);
|
|
3333
|
-
return
|
|
3347
|
+
return _this387.get("/users/".concat(user_id), {
|
|
3334
3348
|
fields
|
|
3335
3349
|
}, null, options);
|
|
3336
3350
|
})();
|
|
3337
3351
|
}
|
|
3338
3352
|
update_user(user_id, body, fields, options) {
|
|
3339
|
-
var
|
|
3353
|
+
var _this388 = this;
|
|
3340
3354
|
return _asyncToGenerator(function* () {
|
|
3341
3355
|
user_id = encodeParam(user_id);
|
|
3342
|
-
return
|
|
3356
|
+
return _this388.patch("/users/".concat(user_id), {
|
|
3343
3357
|
fields
|
|
3344
3358
|
}, body, options);
|
|
3345
3359
|
})();
|
|
3346
3360
|
}
|
|
3347
3361
|
delete_user(user_id, options) {
|
|
3348
|
-
var
|
|
3362
|
+
var _this389 = this;
|
|
3349
3363
|
return _asyncToGenerator(function* () {
|
|
3350
3364
|
user_id = encodeParam(user_id);
|
|
3351
|
-
return
|
|
3365
|
+
return _this389.delete("/users/".concat(user_id), null, null, options);
|
|
3352
3366
|
})();
|
|
3353
3367
|
}
|
|
3354
3368
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3355
|
-
var
|
|
3369
|
+
var _this390 = this;
|
|
3356
3370
|
return _asyncToGenerator(function* () {
|
|
3357
3371
|
credential_type = encodeParam(credential_type);
|
|
3358
3372
|
credential_id = encodeParam(credential_id);
|
|
3359
|
-
return
|
|
3373
|
+
return _this390.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3360
3374
|
fields
|
|
3361
3375
|
}, null, options);
|
|
3362
3376
|
})();
|
|
3363
3377
|
}
|
|
3364
3378
|
user_credentials_email(user_id, fields, options) {
|
|
3365
|
-
var
|
|
3379
|
+
var _this391 = this;
|
|
3366
3380
|
return _asyncToGenerator(function* () {
|
|
3367
3381
|
user_id = encodeParam(user_id);
|
|
3368
|
-
return
|
|
3382
|
+
return _this391.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3369
3383
|
fields
|
|
3370
3384
|
}, null, options);
|
|
3371
3385
|
})();
|
|
3372
3386
|
}
|
|
3373
3387
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3374
|
-
var
|
|
3388
|
+
var _this392 = this;
|
|
3375
3389
|
return _asyncToGenerator(function* () {
|
|
3376
3390
|
user_id = encodeParam(user_id);
|
|
3377
|
-
return
|
|
3391
|
+
return _this392.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3378
3392
|
fields
|
|
3379
3393
|
}, body, options);
|
|
3380
3394
|
})();
|
|
3381
3395
|
}
|
|
3382
3396
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3383
|
-
var
|
|
3397
|
+
var _this393 = this;
|
|
3384
3398
|
return _asyncToGenerator(function* () {
|
|
3385
3399
|
user_id = encodeParam(user_id);
|
|
3386
|
-
return
|
|
3400
|
+
return _this393.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3387
3401
|
fields
|
|
3388
3402
|
}, body, options);
|
|
3389
3403
|
})();
|
|
3390
3404
|
}
|
|
3391
3405
|
delete_user_credentials_email(user_id, options) {
|
|
3392
|
-
var
|
|
3406
|
+
var _this394 = this;
|
|
3393
3407
|
return _asyncToGenerator(function* () {
|
|
3394
3408
|
user_id = encodeParam(user_id);
|
|
3395
|
-
return
|
|
3409
|
+
return _this394.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3396
3410
|
})();
|
|
3397
3411
|
}
|
|
3398
3412
|
user_credentials_totp(user_id, fields, options) {
|
|
3399
|
-
var
|
|
3413
|
+
var _this395 = this;
|
|
3400
3414
|
return _asyncToGenerator(function* () {
|
|
3401
3415
|
user_id = encodeParam(user_id);
|
|
3402
|
-
return
|
|
3416
|
+
return _this395.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3403
3417
|
fields
|
|
3404
3418
|
}, null, options);
|
|
3405
3419
|
})();
|
|
3406
3420
|
}
|
|
3407
3421
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3408
|
-
var
|
|
3422
|
+
var _this396 = this;
|
|
3409
3423
|
return _asyncToGenerator(function* () {
|
|
3410
3424
|
user_id = encodeParam(user_id);
|
|
3411
|
-
return
|
|
3425
|
+
return _this396.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3412
3426
|
fields
|
|
3413
3427
|
}, body, options);
|
|
3414
3428
|
})();
|
|
3415
3429
|
}
|
|
3416
3430
|
delete_user_credentials_totp(user_id, options) {
|
|
3417
|
-
var
|
|
3431
|
+
var _this397 = this;
|
|
3418
3432
|
return _asyncToGenerator(function* () {
|
|
3419
3433
|
user_id = encodeParam(user_id);
|
|
3420
|
-
return
|
|
3434
|
+
return _this397.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3421
3435
|
})();
|
|
3422
3436
|
}
|
|
3423
3437
|
user_credentials_ldap(user_id, fields, options) {
|
|
3424
|
-
var
|
|
3438
|
+
var _this398 = this;
|
|
3425
3439
|
return _asyncToGenerator(function* () {
|
|
3426
3440
|
user_id = encodeParam(user_id);
|
|
3427
|
-
return
|
|
3441
|
+
return _this398.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3428
3442
|
fields
|
|
3429
3443
|
}, null, options);
|
|
3430
3444
|
})();
|
|
3431
3445
|
}
|
|
3432
3446
|
delete_user_credentials_ldap(user_id, options) {
|
|
3433
|
-
var
|
|
3447
|
+
var _this399 = this;
|
|
3434
3448
|
return _asyncToGenerator(function* () {
|
|
3435
3449
|
user_id = encodeParam(user_id);
|
|
3436
|
-
return
|
|
3450
|
+
return _this399.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3437
3451
|
})();
|
|
3438
3452
|
}
|
|
3439
3453
|
user_credentials_google(user_id, fields, options) {
|
|
3440
|
-
var
|
|
3454
|
+
var _this400 = this;
|
|
3441
3455
|
return _asyncToGenerator(function* () {
|
|
3442
3456
|
user_id = encodeParam(user_id);
|
|
3443
|
-
return
|
|
3457
|
+
return _this400.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3444
3458
|
fields
|
|
3445
3459
|
}, null, options);
|
|
3446
3460
|
})();
|
|
3447
3461
|
}
|
|
3448
3462
|
delete_user_credentials_google(user_id, options) {
|
|
3449
|
-
var
|
|
3463
|
+
var _this401 = this;
|
|
3450
3464
|
return _asyncToGenerator(function* () {
|
|
3451
3465
|
user_id = encodeParam(user_id);
|
|
3452
|
-
return
|
|
3466
|
+
return _this401.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3453
3467
|
})();
|
|
3454
3468
|
}
|
|
3455
3469
|
user_credentials_saml(user_id, fields, options) {
|
|
3456
|
-
var
|
|
3470
|
+
var _this402 = this;
|
|
3457
3471
|
return _asyncToGenerator(function* () {
|
|
3458
3472
|
user_id = encodeParam(user_id);
|
|
3459
|
-
return
|
|
3473
|
+
return _this402.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3460
3474
|
fields
|
|
3461
3475
|
}, null, options);
|
|
3462
3476
|
})();
|
|
3463
3477
|
}
|
|
3464
3478
|
delete_user_credentials_saml(user_id, options) {
|
|
3465
|
-
var
|
|
3479
|
+
var _this403 = this;
|
|
3466
3480
|
return _asyncToGenerator(function* () {
|
|
3467
3481
|
user_id = encodeParam(user_id);
|
|
3468
|
-
return
|
|
3482
|
+
return _this403.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3469
3483
|
})();
|
|
3470
3484
|
}
|
|
3471
3485
|
user_credentials_oidc(user_id, fields, options) {
|
|
3472
|
-
var
|
|
3486
|
+
var _this404 = this;
|
|
3473
3487
|
return _asyncToGenerator(function* () {
|
|
3474
3488
|
user_id = encodeParam(user_id);
|
|
3475
|
-
return
|
|
3489
|
+
return _this404.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3476
3490
|
fields
|
|
3477
3491
|
}, null, options);
|
|
3478
3492
|
})();
|
|
3479
3493
|
}
|
|
3480
3494
|
delete_user_credentials_oidc(user_id, options) {
|
|
3481
|
-
var
|
|
3495
|
+
var _this405 = this;
|
|
3482
3496
|
return _asyncToGenerator(function* () {
|
|
3483
3497
|
user_id = encodeParam(user_id);
|
|
3484
|
-
return
|
|
3498
|
+
return _this405.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3485
3499
|
})();
|
|
3486
3500
|
}
|
|
3487
3501
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3488
|
-
var
|
|
3502
|
+
var _this406 = this;
|
|
3489
3503
|
return _asyncToGenerator(function* () {
|
|
3490
3504
|
user_id = encodeParam(user_id);
|
|
3491
3505
|
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3492
|
-
return
|
|
3506
|
+
return _this406.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3493
3507
|
fields
|
|
3494
3508
|
}, null, options);
|
|
3495
3509
|
})();
|
|
3496
3510
|
}
|
|
3497
3511
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3498
|
-
var
|
|
3512
|
+
var _this407 = this;
|
|
3499
3513
|
return _asyncToGenerator(function* () {
|
|
3500
3514
|
user_id = encodeParam(user_id);
|
|
3501
3515
|
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3502
|
-
return
|
|
3516
|
+
return _this407.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3503
3517
|
})();
|
|
3504
3518
|
}
|
|
3505
3519
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3506
|
-
var
|
|
3520
|
+
var _this408 = this;
|
|
3507
3521
|
return _asyncToGenerator(function* () {
|
|
3508
3522
|
user_id = encodeParam(user_id);
|
|
3509
|
-
return
|
|
3523
|
+
return _this408.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3510
3524
|
fields
|
|
3511
3525
|
}, null, options);
|
|
3512
3526
|
})();
|
|
3513
3527
|
}
|
|
3514
3528
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3515
|
-
var
|
|
3529
|
+
var _this409 = this;
|
|
3516
3530
|
return _asyncToGenerator(function* () {
|
|
3517
3531
|
user_id = encodeParam(user_id);
|
|
3518
|
-
return
|
|
3532
|
+
return _this409.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3519
3533
|
fields
|
|
3520
3534
|
}, null, options);
|
|
3521
3535
|
})();
|
|
3522
3536
|
}
|
|
3523
3537
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3524
|
-
var
|
|
3538
|
+
var _this410 = this;
|
|
3525
3539
|
return _asyncToGenerator(function* () {
|
|
3526
3540
|
user_id = encodeParam(user_id);
|
|
3527
3541
|
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3528
|
-
return
|
|
3542
|
+
return _this410.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3529
3543
|
fields
|
|
3530
3544
|
}, null, options);
|
|
3531
3545
|
})();
|
|
3532
3546
|
}
|
|
3533
3547
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3534
|
-
var
|
|
3548
|
+
var _this411 = this;
|
|
3535
3549
|
return _asyncToGenerator(function* () {
|
|
3536
3550
|
user_id = encodeParam(user_id);
|
|
3537
3551
|
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3538
|
-
return
|
|
3552
|
+
return _this411.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3539
3553
|
})();
|
|
3540
3554
|
}
|
|
3541
3555
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3542
|
-
var
|
|
3556
|
+
var _this412 = this;
|
|
3543
3557
|
return _asyncToGenerator(function* () {
|
|
3544
3558
|
user_id = encodeParam(user_id);
|
|
3545
|
-
return
|
|
3559
|
+
return _this412.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3546
3560
|
fields
|
|
3547
3561
|
}, null, options);
|
|
3548
3562
|
})();
|
|
3549
3563
|
}
|
|
3550
3564
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3551
|
-
var
|
|
3565
|
+
var _this413 = this;
|
|
3552
3566
|
return _asyncToGenerator(function* () {
|
|
3553
3567
|
user_id = encodeParam(user_id);
|
|
3554
|
-
return
|
|
3568
|
+
return _this413.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3555
3569
|
fields
|
|
3556
3570
|
}, null, options);
|
|
3557
3571
|
})();
|
|
3558
3572
|
}
|
|
3559
3573
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3560
|
-
var
|
|
3574
|
+
var _this414 = this;
|
|
3561
3575
|
return _asyncToGenerator(function* () {
|
|
3562
3576
|
user_id = encodeParam(user_id);
|
|
3563
|
-
return
|
|
3577
|
+
return _this414.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3564
3578
|
})();
|
|
3565
3579
|
}
|
|
3566
3580
|
user_session(user_id, session_id, fields, options) {
|
|
3567
|
-
var
|
|
3581
|
+
var _this415 = this;
|
|
3568
3582
|
return _asyncToGenerator(function* () {
|
|
3569
3583
|
user_id = encodeParam(user_id);
|
|
3570
3584
|
session_id = encodeParam(session_id);
|
|
3571
|
-
return
|
|
3585
|
+
return _this415.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3572
3586
|
fields
|
|
3573
3587
|
}, null, options);
|
|
3574
3588
|
})();
|
|
3575
3589
|
}
|
|
3576
3590
|
delete_user_session(user_id, session_id, options) {
|
|
3577
|
-
var
|
|
3591
|
+
var _this416 = this;
|
|
3578
3592
|
return _asyncToGenerator(function* () {
|
|
3579
3593
|
user_id = encodeParam(user_id);
|
|
3580
3594
|
session_id = encodeParam(session_id);
|
|
3581
|
-
return
|
|
3595
|
+
return _this416.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3582
3596
|
})();
|
|
3583
3597
|
}
|
|
3584
3598
|
all_user_sessions(user_id, fields, options) {
|
|
3585
|
-
var
|
|
3599
|
+
var _this417 = this;
|
|
3586
3600
|
return _asyncToGenerator(function* () {
|
|
3587
3601
|
user_id = encodeParam(user_id);
|
|
3588
|
-
return
|
|
3602
|
+
return _this417.get("/users/".concat(user_id, "/sessions"), {
|
|
3589
3603
|
fields
|
|
3590
3604
|
}, null, options);
|
|
3591
3605
|
})();
|
|
3592
3606
|
}
|
|
3593
3607
|
create_user_credentials_email_password_reset(request, options) {
|
|
3594
|
-
var
|
|
3608
|
+
var _this418 = this;
|
|
3595
3609
|
return _asyncToGenerator(function* () {
|
|
3596
3610
|
request.user_id = encodeParam(request.user_id);
|
|
3597
|
-
return
|
|
3611
|
+
return _this418.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3598
3612
|
expires: request.expires,
|
|
3599
3613
|
fields: request.fields
|
|
3600
3614
|
}, null, options);
|
|
3601
3615
|
})();
|
|
3602
3616
|
}
|
|
3603
3617
|
user_roles(request, options) {
|
|
3604
|
-
var
|
|
3618
|
+
var _this419 = this;
|
|
3605
3619
|
return _asyncToGenerator(function* () {
|
|
3606
3620
|
request.user_id = encodeParam(request.user_id);
|
|
3607
|
-
return
|
|
3621
|
+
return _this419.get("/users/".concat(request.user_id, "/roles"), {
|
|
3608
3622
|
fields: request.fields,
|
|
3609
3623
|
direct_association_only: request.direct_association_only
|
|
3610
3624
|
}, null, options);
|
|
3611
3625
|
})();
|
|
3612
3626
|
}
|
|
3613
3627
|
set_user_roles(user_id, body, fields, options) {
|
|
3614
|
-
var
|
|
3628
|
+
var _this420 = this;
|
|
3615
3629
|
return _asyncToGenerator(function* () {
|
|
3616
3630
|
user_id = encodeParam(user_id);
|
|
3617
|
-
return
|
|
3631
|
+
return _this420.put("/users/".concat(user_id, "/roles"), {
|
|
3618
3632
|
fields
|
|
3619
3633
|
}, body, options);
|
|
3620
3634
|
})();
|
|
3621
3635
|
}
|
|
3622
3636
|
user_attribute_user_values(request, options) {
|
|
3623
|
-
var
|
|
3637
|
+
var _this421 = this;
|
|
3624
3638
|
return _asyncToGenerator(function* () {
|
|
3625
3639
|
request.user_id = encodeParam(request.user_id);
|
|
3626
|
-
return
|
|
3640
|
+
return _this421.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3627
3641
|
fields: request.fields,
|
|
3628
3642
|
user_attribute_ids: request.user_attribute_ids,
|
|
3629
3643
|
all_values: request.all_values,
|
|
@@ -3632,114 +3646,114 @@ export class Looker40SDK extends APIMethods {
|
|
|
3632
3646
|
})();
|
|
3633
3647
|
}
|
|
3634
3648
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3635
|
-
var
|
|
3649
|
+
var _this422 = this;
|
|
3636
3650
|
return _asyncToGenerator(function* () {
|
|
3637
3651
|
user_id = encodeParam(user_id);
|
|
3638
3652
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3639
|
-
return
|
|
3653
|
+
return _this422.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3640
3654
|
})();
|
|
3641
3655
|
}
|
|
3642
3656
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3643
|
-
var
|
|
3657
|
+
var _this423 = this;
|
|
3644
3658
|
return _asyncToGenerator(function* () {
|
|
3645
3659
|
user_id = encodeParam(user_id);
|
|
3646
3660
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3647
|
-
return
|
|
3661
|
+
return _this423.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3648
3662
|
})();
|
|
3649
3663
|
}
|
|
3650
3664
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3651
|
-
var
|
|
3665
|
+
var _this424 = this;
|
|
3652
3666
|
return _asyncToGenerator(function* () {
|
|
3653
3667
|
user_id = encodeParam(user_id);
|
|
3654
|
-
return
|
|
3668
|
+
return _this424.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3655
3669
|
fields
|
|
3656
3670
|
}, null, options);
|
|
3657
3671
|
})();
|
|
3658
3672
|
}
|
|
3659
3673
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3660
|
-
var
|
|
3674
|
+
var _this425 = this;
|
|
3661
3675
|
return _asyncToGenerator(function* () {
|
|
3662
3676
|
user_id = encodeParam(user_id);
|
|
3663
|
-
return
|
|
3677
|
+
return _this425.post("/users/".concat(user_id, "/update_emails"), {
|
|
3664
3678
|
fields
|
|
3665
3679
|
}, body, options);
|
|
3666
3680
|
})();
|
|
3667
3681
|
}
|
|
3668
3682
|
create_embed_user(body, options) {
|
|
3669
|
-
var
|
|
3683
|
+
var _this426 = this;
|
|
3670
3684
|
return _asyncToGenerator(function* () {
|
|
3671
|
-
return
|
|
3685
|
+
return _this426.post('/users/embed_user', null, body, options);
|
|
3672
3686
|
})();
|
|
3673
3687
|
}
|
|
3674
3688
|
all_user_attributes(request, options) {
|
|
3675
|
-
var
|
|
3689
|
+
var _this427 = this;
|
|
3676
3690
|
return _asyncToGenerator(function* () {
|
|
3677
|
-
return
|
|
3691
|
+
return _this427.get('/user_attributes', {
|
|
3678
3692
|
fields: request.fields,
|
|
3679
3693
|
sorts: request.sorts
|
|
3680
3694
|
}, null, options);
|
|
3681
3695
|
})();
|
|
3682
3696
|
}
|
|
3683
3697
|
create_user_attribute(body, fields, options) {
|
|
3684
|
-
var
|
|
3698
|
+
var _this428 = this;
|
|
3685
3699
|
return _asyncToGenerator(function* () {
|
|
3686
|
-
return
|
|
3700
|
+
return _this428.post('/user_attributes', {
|
|
3687
3701
|
fields
|
|
3688
3702
|
}, body, options);
|
|
3689
3703
|
})();
|
|
3690
3704
|
}
|
|
3691
3705
|
user_attribute(user_attribute_id, fields, options) {
|
|
3692
|
-
var
|
|
3706
|
+
var _this429 = this;
|
|
3693
3707
|
return _asyncToGenerator(function* () {
|
|
3694
3708
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3695
|
-
return
|
|
3709
|
+
return _this429.get("/user_attributes/".concat(user_attribute_id), {
|
|
3696
3710
|
fields
|
|
3697
3711
|
}, null, options);
|
|
3698
3712
|
})();
|
|
3699
3713
|
}
|
|
3700
3714
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3701
|
-
var
|
|
3715
|
+
var _this430 = this;
|
|
3702
3716
|
return _asyncToGenerator(function* () {
|
|
3703
3717
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3704
|
-
return
|
|
3718
|
+
return _this430.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3705
3719
|
fields
|
|
3706
3720
|
}, body, options);
|
|
3707
3721
|
})();
|
|
3708
3722
|
}
|
|
3709
3723
|
delete_user_attribute(user_attribute_id, options) {
|
|
3710
|
-
var
|
|
3724
|
+
var _this431 = this;
|
|
3711
3725
|
return _asyncToGenerator(function* () {
|
|
3712
3726
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3713
|
-
return
|
|
3727
|
+
return _this431.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3714
3728
|
})();
|
|
3715
3729
|
}
|
|
3716
3730
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3717
|
-
var
|
|
3731
|
+
var _this432 = this;
|
|
3718
3732
|
return _asyncToGenerator(function* () {
|
|
3719
3733
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3720
|
-
return
|
|
3734
|
+
return _this432.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3721
3735
|
fields
|
|
3722
3736
|
}, null, options);
|
|
3723
3737
|
})();
|
|
3724
3738
|
}
|
|
3725
3739
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3726
|
-
var
|
|
3740
|
+
var _this433 = this;
|
|
3727
3741
|
return _asyncToGenerator(function* () {
|
|
3728
3742
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3729
|
-
return
|
|
3743
|
+
return _this433.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3730
3744
|
})();
|
|
3731
3745
|
}
|
|
3732
3746
|
all_workspaces(options) {
|
|
3733
|
-
var
|
|
3747
|
+
var _this434 = this;
|
|
3734
3748
|
return _asyncToGenerator(function* () {
|
|
3735
|
-
return
|
|
3749
|
+
return _this434.get('/workspaces', null, null, options);
|
|
3736
3750
|
})();
|
|
3737
3751
|
}
|
|
3738
3752
|
workspace(workspace_id, options) {
|
|
3739
|
-
var
|
|
3753
|
+
var _this435 = this;
|
|
3740
3754
|
return _asyncToGenerator(function* () {
|
|
3741
3755
|
workspace_id = encodeParam(workspace_id);
|
|
3742
|
-
return
|
|
3756
|
+
return _this435.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3743
3757
|
})();
|
|
3744
3758
|
}
|
|
3745
3759
|
}
|