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