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