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