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