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