@looker/sdk 26.8.0 → 26.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/4.0/funcs.d.ts +17 -3
- package/lib/4.0/funcs.js +994 -859
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +17 -3
- package/lib/4.0/methods.js +677 -570
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +17 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +106 -2
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +15 -1
- package/lib/4.0/streams.js +677 -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 +989 -854
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +677 -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 +677 -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,43 +2860,66 @@ 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
|
|
2821
2870
|
}, request.body, options);
|
|
2822
2871
|
})();
|
|
2823
2872
|
}
|
|
2873
|
+
create_git_diagnostic_report(project_id, body, options) {
|
|
2874
|
+
var _this336 = this;
|
|
2875
|
+
return _asyncToGenerator(function* () {
|
|
2876
|
+
project_id = encodeParam(project_id);
|
|
2877
|
+
return _this336.post("/projects/".concat(project_id, "/git_diagnostic_report"), null, body, options);
|
|
2878
|
+
})();
|
|
2879
|
+
}
|
|
2880
|
+
get_git_diagnostic_report(project_id, report_id, options) {
|
|
2881
|
+
var _this337 = this;
|
|
2882
|
+
return _asyncToGenerator(function* () {
|
|
2883
|
+
project_id = encodeParam(project_id);
|
|
2884
|
+
report_id = encodeParam(report_id);
|
|
2885
|
+
return _this337.get("/projects/".concat(project_id, "/git_diagnostic_report/").concat(report_id), null, null, options);
|
|
2886
|
+
})();
|
|
2887
|
+
}
|
|
2888
|
+
repair_git_diagnostic_report(project_id, report_id, body, options) {
|
|
2889
|
+
var _this338 = this;
|
|
2890
|
+
return _asyncToGenerator(function* () {
|
|
2891
|
+
project_id = encodeParam(project_id);
|
|
2892
|
+
report_id = encodeParam(report_id);
|
|
2893
|
+
return _this338.post("/projects/".concat(project_id, "/git_diagnostic_report/").concat(report_id, "/repair"), null, body, options);
|
|
2894
|
+
})();
|
|
2895
|
+
}
|
|
2824
2896
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2825
|
-
var
|
|
2897
|
+
var _this339 = this;
|
|
2826
2898
|
return _asyncToGenerator(function* () {
|
|
2827
2899
|
root_project_id = encodeParam(root_project_id);
|
|
2828
2900
|
credential_id = encodeParam(credential_id);
|
|
2829
|
-
return
|
|
2901
|
+
return _this339.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2830
2902
|
})();
|
|
2831
2903
|
}
|
|
2832
2904
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2833
|
-
var
|
|
2905
|
+
var _this340 = this;
|
|
2834
2906
|
return _asyncToGenerator(function* () {
|
|
2835
2907
|
root_project_id = encodeParam(root_project_id);
|
|
2836
2908
|
credential_id = encodeParam(credential_id);
|
|
2837
|
-
return
|
|
2909
|
+
return _this340.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2838
2910
|
})();
|
|
2839
2911
|
}
|
|
2840
2912
|
get_all_repository_credentials(root_project_id, options) {
|
|
2841
|
-
var
|
|
2913
|
+
var _this341 = this;
|
|
2842
2914
|
return _asyncToGenerator(function* () {
|
|
2843
2915
|
root_project_id = encodeParam(root_project_id);
|
|
2844
|
-
return
|
|
2916
|
+
return _this341.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2845
2917
|
})();
|
|
2846
2918
|
}
|
|
2847
2919
|
create_query_task(request, options) {
|
|
2848
|
-
var
|
|
2920
|
+
var _this342 = this;
|
|
2849
2921
|
return _asyncToGenerator(function* () {
|
|
2850
|
-
return
|
|
2922
|
+
return _this342.post('/query_tasks', {
|
|
2851
2923
|
limit: request.limit,
|
|
2852
2924
|
apply_formatting: request.apply_formatting,
|
|
2853
2925
|
apply_vis: request.apply_vis,
|
|
@@ -2863,61 +2935,61 @@ export class Looker40SDK extends APIMethods {
|
|
|
2863
2935
|
})();
|
|
2864
2936
|
}
|
|
2865
2937
|
query_task_multi_results(query_task_ids, options) {
|
|
2866
|
-
var
|
|
2938
|
+
var _this343 = this;
|
|
2867
2939
|
return _asyncToGenerator(function* () {
|
|
2868
|
-
return
|
|
2940
|
+
return _this343.get('/query_tasks/multi_results', {
|
|
2869
2941
|
query_task_ids
|
|
2870
2942
|
}, null, options);
|
|
2871
2943
|
})();
|
|
2872
2944
|
}
|
|
2873
2945
|
query_task(query_task_id, fields, options) {
|
|
2874
|
-
var
|
|
2946
|
+
var _this344 = this;
|
|
2875
2947
|
return _asyncToGenerator(function* () {
|
|
2876
2948
|
query_task_id = encodeParam(query_task_id);
|
|
2877
|
-
return
|
|
2949
|
+
return _this344.get("/query_tasks/".concat(query_task_id), {
|
|
2878
2950
|
fields
|
|
2879
2951
|
}, null, options);
|
|
2880
2952
|
})();
|
|
2881
2953
|
}
|
|
2882
2954
|
query_task_results(query_task_id, options) {
|
|
2883
|
-
var
|
|
2955
|
+
var _this345 = this;
|
|
2884
2956
|
return _asyncToGenerator(function* () {
|
|
2885
2957
|
query_task_id = encodeParam(query_task_id);
|
|
2886
|
-
return
|
|
2958
|
+
return _this345.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2887
2959
|
})();
|
|
2888
2960
|
}
|
|
2889
2961
|
query(query_id, fields, options) {
|
|
2890
|
-
var
|
|
2962
|
+
var _this346 = this;
|
|
2891
2963
|
return _asyncToGenerator(function* () {
|
|
2892
2964
|
query_id = encodeParam(query_id);
|
|
2893
|
-
return
|
|
2965
|
+
return _this346.get("/queries/".concat(query_id), {
|
|
2894
2966
|
fields
|
|
2895
2967
|
}, null, options);
|
|
2896
2968
|
})();
|
|
2897
2969
|
}
|
|
2898
2970
|
query_for_slug(slug, fields, options) {
|
|
2899
|
-
var
|
|
2971
|
+
var _this347 = this;
|
|
2900
2972
|
return _asyncToGenerator(function* () {
|
|
2901
2973
|
slug = encodeParam(slug);
|
|
2902
|
-
return
|
|
2974
|
+
return _this347.get("/queries/slug/".concat(slug), {
|
|
2903
2975
|
fields
|
|
2904
2976
|
}, null, options);
|
|
2905
2977
|
})();
|
|
2906
2978
|
}
|
|
2907
2979
|
create_query(body, fields, options) {
|
|
2908
|
-
var
|
|
2980
|
+
var _this348 = this;
|
|
2909
2981
|
return _asyncToGenerator(function* () {
|
|
2910
|
-
return
|
|
2982
|
+
return _this348.post('/queries', {
|
|
2911
2983
|
fields
|
|
2912
2984
|
}, body, options);
|
|
2913
2985
|
})();
|
|
2914
2986
|
}
|
|
2915
2987
|
run_query(request, options) {
|
|
2916
|
-
var
|
|
2988
|
+
var _this349 = this;
|
|
2917
2989
|
return _asyncToGenerator(function* () {
|
|
2918
2990
|
request.query_id = encodeParam(request.query_id);
|
|
2919
2991
|
request.result_format = encodeParam(request.result_format);
|
|
2920
|
-
return
|
|
2992
|
+
return _this349.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2921
2993
|
limit: request.limit,
|
|
2922
2994
|
apply_formatting: request.apply_formatting,
|
|
2923
2995
|
apply_vis: request.apply_vis,
|
|
@@ -2934,10 +3006,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
2934
3006
|
})();
|
|
2935
3007
|
}
|
|
2936
3008
|
run_inline_query(request, options) {
|
|
2937
|
-
var
|
|
3009
|
+
var _this350 = this;
|
|
2938
3010
|
return _asyncToGenerator(function* () {
|
|
2939
3011
|
request.result_format = encodeParam(request.result_format);
|
|
2940
|
-
return
|
|
3012
|
+
return _this350.post("/queries/run/".concat(request.result_format), {
|
|
2941
3013
|
limit: request.limit,
|
|
2942
3014
|
apply_formatting: request.apply_formatting,
|
|
2943
3015
|
apply_vis: request.apply_vis,
|
|
@@ -2954,73 +3026,73 @@ export class Looker40SDK extends APIMethods {
|
|
|
2954
3026
|
})();
|
|
2955
3027
|
}
|
|
2956
3028
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2957
|
-
var
|
|
3029
|
+
var _this351 = this;
|
|
2958
3030
|
return _asyncToGenerator(function* () {
|
|
2959
3031
|
model_name = encodeParam(model_name);
|
|
2960
3032
|
view_name = encodeParam(view_name);
|
|
2961
3033
|
result_format = encodeParam(result_format);
|
|
2962
|
-
return
|
|
3034
|
+
return _this351.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2963
3035
|
})();
|
|
2964
3036
|
}
|
|
2965
3037
|
merge_query(merge_query_id, fields, options) {
|
|
2966
|
-
var
|
|
3038
|
+
var _this352 = this;
|
|
2967
3039
|
return _asyncToGenerator(function* () {
|
|
2968
3040
|
merge_query_id = encodeParam(merge_query_id);
|
|
2969
|
-
return
|
|
3041
|
+
return _this352.get("/merge_queries/".concat(merge_query_id), {
|
|
2970
3042
|
fields
|
|
2971
3043
|
}, null, options);
|
|
2972
3044
|
})();
|
|
2973
3045
|
}
|
|
2974
3046
|
create_merge_query(body, fields, options) {
|
|
2975
|
-
var
|
|
3047
|
+
var _this353 = this;
|
|
2976
3048
|
return _asyncToGenerator(function* () {
|
|
2977
|
-
return
|
|
3049
|
+
return _this353.post('/merge_queries', {
|
|
2978
3050
|
fields
|
|
2979
3051
|
}, body, options);
|
|
2980
3052
|
})();
|
|
2981
3053
|
}
|
|
2982
3054
|
all_running_queries(options) {
|
|
2983
|
-
var
|
|
3055
|
+
var _this354 = this;
|
|
2984
3056
|
return _asyncToGenerator(function* () {
|
|
2985
|
-
return
|
|
3057
|
+
return _this354.get('/running_queries', null, null, options);
|
|
2986
3058
|
})();
|
|
2987
3059
|
}
|
|
2988
3060
|
kill_query(query_task_id, options) {
|
|
2989
|
-
var
|
|
3061
|
+
var _this355 = this;
|
|
2990
3062
|
return _asyncToGenerator(function* () {
|
|
2991
3063
|
query_task_id = encodeParam(query_task_id);
|
|
2992
|
-
return
|
|
3064
|
+
return _this355.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2993
3065
|
})();
|
|
2994
3066
|
}
|
|
2995
3067
|
create_sql_query(body, options) {
|
|
2996
|
-
var
|
|
3068
|
+
var _this356 = this;
|
|
2997
3069
|
return _asyncToGenerator(function* () {
|
|
2998
|
-
return
|
|
3070
|
+
return _this356.post('/sql_queries', null, body, options);
|
|
2999
3071
|
})();
|
|
3000
3072
|
}
|
|
3001
3073
|
sql_query(slug, options) {
|
|
3002
|
-
var
|
|
3074
|
+
var _this357 = this;
|
|
3003
3075
|
return _asyncToGenerator(function* () {
|
|
3004
3076
|
slug = encodeParam(slug);
|
|
3005
|
-
return
|
|
3077
|
+
return _this357.get("/sql_queries/".concat(slug), null, null, options);
|
|
3006
3078
|
})();
|
|
3007
3079
|
}
|
|
3008
3080
|
run_sql_query(slug, result_format, download, options) {
|
|
3009
|
-
var
|
|
3081
|
+
var _this358 = this;
|
|
3010
3082
|
return _asyncToGenerator(function* () {
|
|
3011
3083
|
slug = encodeParam(slug);
|
|
3012
3084
|
result_format = encodeParam(result_format);
|
|
3013
|
-
return
|
|
3085
|
+
return _this358.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
3014
3086
|
download
|
|
3015
3087
|
}, null, options);
|
|
3016
3088
|
})();
|
|
3017
3089
|
}
|
|
3018
3090
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
3019
|
-
var
|
|
3091
|
+
var _this359 = this;
|
|
3020
3092
|
return _asyncToGenerator(function* () {
|
|
3021
3093
|
look_id = encodeParam(look_id);
|
|
3022
3094
|
result_format = encodeParam(result_format);
|
|
3023
|
-
return
|
|
3095
|
+
return _this359.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
3024
3096
|
width,
|
|
3025
3097
|
height,
|
|
3026
3098
|
fields
|
|
@@ -3028,11 +3100,11 @@ export class Looker40SDK extends APIMethods {
|
|
|
3028
3100
|
})();
|
|
3029
3101
|
}
|
|
3030
3102
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
3031
|
-
var
|
|
3103
|
+
var _this360 = this;
|
|
3032
3104
|
return _asyncToGenerator(function* () {
|
|
3033
3105
|
query_id = encodeParam(query_id);
|
|
3034
3106
|
result_format = encodeParam(result_format);
|
|
3035
|
-
return
|
|
3107
|
+
return _this360.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
3036
3108
|
width,
|
|
3037
3109
|
height,
|
|
3038
3110
|
fields
|
|
@@ -3040,11 +3112,11 @@ export class Looker40SDK extends APIMethods {
|
|
|
3040
3112
|
})();
|
|
3041
3113
|
}
|
|
3042
3114
|
create_dashboard_render_task(request, options) {
|
|
3043
|
-
var
|
|
3115
|
+
var _this361 = this;
|
|
3044
3116
|
return _asyncToGenerator(function* () {
|
|
3045
3117
|
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3046
3118
|
request.result_format = encodeParam(request.result_format);
|
|
3047
|
-
return
|
|
3119
|
+
return _this361.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
3048
3120
|
width: request.width,
|
|
3049
3121
|
height: request.height,
|
|
3050
3122
|
fields: request.fields,
|
|
@@ -3056,27 +3128,27 @@ export class Looker40SDK extends APIMethods {
|
|
|
3056
3128
|
})();
|
|
3057
3129
|
}
|
|
3058
3130
|
render_task(render_task_id, fields, options) {
|
|
3059
|
-
var
|
|
3131
|
+
var _this362 = this;
|
|
3060
3132
|
return _asyncToGenerator(function* () {
|
|
3061
3133
|
render_task_id = encodeParam(render_task_id);
|
|
3062
|
-
return
|
|
3134
|
+
return _this362.get("/render_tasks/".concat(render_task_id), {
|
|
3063
3135
|
fields
|
|
3064
3136
|
}, null, options);
|
|
3065
3137
|
})();
|
|
3066
3138
|
}
|
|
3067
3139
|
render_task_results(render_task_id, options) {
|
|
3068
|
-
var
|
|
3140
|
+
var _this363 = this;
|
|
3069
3141
|
return _asyncToGenerator(function* () {
|
|
3070
3142
|
render_task_id = encodeParam(render_task_id);
|
|
3071
|
-
return
|
|
3143
|
+
return _this363.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
3072
3144
|
})();
|
|
3073
3145
|
}
|
|
3074
3146
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
3075
|
-
var
|
|
3147
|
+
var _this364 = this;
|
|
3076
3148
|
return _asyncToGenerator(function* () {
|
|
3077
3149
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
3078
3150
|
result_format = encodeParam(result_format);
|
|
3079
|
-
return
|
|
3151
|
+
return _this364.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
3080
3152
|
width,
|
|
3081
3153
|
height,
|
|
3082
3154
|
fields
|
|
@@ -3084,9 +3156,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
3084
3156
|
})();
|
|
3085
3157
|
}
|
|
3086
3158
|
search_reports(request, options) {
|
|
3087
|
-
var
|
|
3159
|
+
var _this365 = this;
|
|
3088
3160
|
return _asyncToGenerator(function* () {
|
|
3089
|
-
return
|
|
3161
|
+
return _this365.get('/reports/search', {
|
|
3090
3162
|
folder_id: request.folder_id,
|
|
3091
3163
|
favorite: request.favorite,
|
|
3092
3164
|
recent: request.recent,
|
|
@@ -3100,9 +3172,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
3100
3172
|
})();
|
|
3101
3173
|
}
|
|
3102
3174
|
search_model_sets(request, options) {
|
|
3103
|
-
var
|
|
3175
|
+
var _this366 = this;
|
|
3104
3176
|
return _asyncToGenerator(function* () {
|
|
3105
|
-
return
|
|
3177
|
+
return _this366.get('/model_sets/search', {
|
|
3106
3178
|
fields: request.fields,
|
|
3107
3179
|
limit: request.limit,
|
|
3108
3180
|
offset: request.offset,
|
|
@@ -3117,52 +3189,52 @@ export class Looker40SDK extends APIMethods {
|
|
|
3117
3189
|
})();
|
|
3118
3190
|
}
|
|
3119
3191
|
model_set(model_set_id, fields, options) {
|
|
3120
|
-
var
|
|
3192
|
+
var _this367 = this;
|
|
3121
3193
|
return _asyncToGenerator(function* () {
|
|
3122
3194
|
model_set_id = encodeParam(model_set_id);
|
|
3123
|
-
return
|
|
3195
|
+
return _this367.get("/model_sets/".concat(model_set_id), {
|
|
3124
3196
|
fields
|
|
3125
3197
|
}, null, options);
|
|
3126
3198
|
})();
|
|
3127
3199
|
}
|
|
3128
3200
|
update_model_set(model_set_id, body, options) {
|
|
3129
|
-
var
|
|
3201
|
+
var _this368 = this;
|
|
3130
3202
|
return _asyncToGenerator(function* () {
|
|
3131
3203
|
model_set_id = encodeParam(model_set_id);
|
|
3132
|
-
return
|
|
3204
|
+
return _this368.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
3133
3205
|
})();
|
|
3134
3206
|
}
|
|
3135
3207
|
delete_model_set(model_set_id, options) {
|
|
3136
|
-
var
|
|
3208
|
+
var _this369 = this;
|
|
3137
3209
|
return _asyncToGenerator(function* () {
|
|
3138
3210
|
model_set_id = encodeParam(model_set_id);
|
|
3139
|
-
return
|
|
3211
|
+
return _this369.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
3140
3212
|
})();
|
|
3141
3213
|
}
|
|
3142
3214
|
all_model_sets(fields, options) {
|
|
3143
|
-
var
|
|
3215
|
+
var _this370 = this;
|
|
3144
3216
|
return _asyncToGenerator(function* () {
|
|
3145
|
-
return
|
|
3217
|
+
return _this370.get('/model_sets', {
|
|
3146
3218
|
fields
|
|
3147
3219
|
}, null, options);
|
|
3148
3220
|
})();
|
|
3149
3221
|
}
|
|
3150
3222
|
create_model_set(body, options) {
|
|
3151
|
-
var
|
|
3223
|
+
var _this371 = this;
|
|
3152
3224
|
return _asyncToGenerator(function* () {
|
|
3153
|
-
return
|
|
3225
|
+
return _this371.post('/model_sets', null, body, options);
|
|
3154
3226
|
})();
|
|
3155
3227
|
}
|
|
3156
3228
|
all_permissions(options) {
|
|
3157
|
-
var
|
|
3229
|
+
var _this372 = this;
|
|
3158
3230
|
return _asyncToGenerator(function* () {
|
|
3159
|
-
return
|
|
3231
|
+
return _this372.get('/permissions', null, null, options);
|
|
3160
3232
|
})();
|
|
3161
3233
|
}
|
|
3162
3234
|
search_permission_sets(request, options) {
|
|
3163
|
-
var
|
|
3235
|
+
var _this373 = this;
|
|
3164
3236
|
return _asyncToGenerator(function* () {
|
|
3165
|
-
return
|
|
3237
|
+
return _this373.get('/permission_sets/search', {
|
|
3166
3238
|
fields: request.fields,
|
|
3167
3239
|
limit: request.limit,
|
|
3168
3240
|
offset: request.offset,
|
|
@@ -3177,46 +3249,46 @@ export class Looker40SDK extends APIMethods {
|
|
|
3177
3249
|
})();
|
|
3178
3250
|
}
|
|
3179
3251
|
permission_set(permission_set_id, fields, options) {
|
|
3180
|
-
var
|
|
3252
|
+
var _this374 = this;
|
|
3181
3253
|
return _asyncToGenerator(function* () {
|
|
3182
3254
|
permission_set_id = encodeParam(permission_set_id);
|
|
3183
|
-
return
|
|
3255
|
+
return _this374.get("/permission_sets/".concat(permission_set_id), {
|
|
3184
3256
|
fields
|
|
3185
3257
|
}, null, options);
|
|
3186
3258
|
})();
|
|
3187
3259
|
}
|
|
3188
3260
|
update_permission_set(permission_set_id, body, options) {
|
|
3189
|
-
var
|
|
3261
|
+
var _this375 = this;
|
|
3190
3262
|
return _asyncToGenerator(function* () {
|
|
3191
3263
|
permission_set_id = encodeParam(permission_set_id);
|
|
3192
|
-
return
|
|
3264
|
+
return _this375.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
3193
3265
|
})();
|
|
3194
3266
|
}
|
|
3195
3267
|
delete_permission_set(permission_set_id, options) {
|
|
3196
|
-
var
|
|
3268
|
+
var _this376 = this;
|
|
3197
3269
|
return _asyncToGenerator(function* () {
|
|
3198
3270
|
permission_set_id = encodeParam(permission_set_id);
|
|
3199
|
-
return
|
|
3271
|
+
return _this376.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
3200
3272
|
})();
|
|
3201
3273
|
}
|
|
3202
3274
|
all_permission_sets(fields, options) {
|
|
3203
|
-
var
|
|
3275
|
+
var _this377 = this;
|
|
3204
3276
|
return _asyncToGenerator(function* () {
|
|
3205
|
-
return
|
|
3277
|
+
return _this377.get('/permission_sets', {
|
|
3206
3278
|
fields
|
|
3207
3279
|
}, null, options);
|
|
3208
3280
|
})();
|
|
3209
3281
|
}
|
|
3210
3282
|
create_permission_set(body, options) {
|
|
3211
|
-
var
|
|
3283
|
+
var _this378 = this;
|
|
3212
3284
|
return _asyncToGenerator(function* () {
|
|
3213
|
-
return
|
|
3285
|
+
return _this378.post('/permission_sets', null, body, options);
|
|
3214
3286
|
})();
|
|
3215
3287
|
}
|
|
3216
3288
|
all_roles(request, options) {
|
|
3217
|
-
var
|
|
3289
|
+
var _this379 = this;
|
|
3218
3290
|
return _asyncToGenerator(function* () {
|
|
3219
|
-
return
|
|
3291
|
+
return _this379.get('/roles', {
|
|
3220
3292
|
fields: request.fields,
|
|
3221
3293
|
ids: request.ids,
|
|
3222
3294
|
get_all_support_roles: request.get_all_support_roles
|
|
@@ -3224,15 +3296,15 @@ export class Looker40SDK extends APIMethods {
|
|
|
3224
3296
|
})();
|
|
3225
3297
|
}
|
|
3226
3298
|
create_role(body, options) {
|
|
3227
|
-
var
|
|
3299
|
+
var _this380 = this;
|
|
3228
3300
|
return _asyncToGenerator(function* () {
|
|
3229
|
-
return
|
|
3301
|
+
return _this380.post('/roles', null, body, options);
|
|
3230
3302
|
})();
|
|
3231
3303
|
}
|
|
3232
3304
|
search_roles(request, options) {
|
|
3233
|
-
var
|
|
3305
|
+
var _this381 = this;
|
|
3234
3306
|
return _asyncToGenerator(function* () {
|
|
3235
|
-
return
|
|
3307
|
+
return _this381.get('/roles/search', {
|
|
3236
3308
|
fields: request.fields,
|
|
3237
3309
|
limit: request.limit,
|
|
3238
3310
|
offset: request.offset,
|
|
@@ -3247,9 +3319,9 @@ export class Looker40SDK extends APIMethods {
|
|
|
3247
3319
|
})();
|
|
3248
3320
|
}
|
|
3249
3321
|
search_roles_with_user_count(request, options) {
|
|
3250
|
-
var
|
|
3322
|
+
var _this382 = this;
|
|
3251
3323
|
return _asyncToGenerator(function* () {
|
|
3252
|
-
return
|
|
3324
|
+
return _this382.get('/roles/search/with_user_count', {
|
|
3253
3325
|
fields: request.fields,
|
|
3254
3326
|
limit: request.limit,
|
|
3255
3327
|
offset: request.offset,
|
|
@@ -3262,95 +3334,95 @@ export class Looker40SDK extends APIMethods {
|
|
|
3262
3334
|
})();
|
|
3263
3335
|
}
|
|
3264
3336
|
role(role_id, options) {
|
|
3265
|
-
var
|
|
3337
|
+
var _this383 = this;
|
|
3266
3338
|
return _asyncToGenerator(function* () {
|
|
3267
3339
|
role_id = encodeParam(role_id);
|
|
3268
|
-
return
|
|
3340
|
+
return _this383.get("/roles/".concat(role_id), null, null, options);
|
|
3269
3341
|
})();
|
|
3270
3342
|
}
|
|
3271
3343
|
update_role(role_id, body, options) {
|
|
3272
|
-
var
|
|
3344
|
+
var _this384 = this;
|
|
3273
3345
|
return _asyncToGenerator(function* () {
|
|
3274
3346
|
role_id = encodeParam(role_id);
|
|
3275
|
-
return
|
|
3347
|
+
return _this384.patch("/roles/".concat(role_id), null, body, options);
|
|
3276
3348
|
})();
|
|
3277
3349
|
}
|
|
3278
3350
|
delete_role(role_id, options) {
|
|
3279
|
-
var
|
|
3351
|
+
var _this385 = this;
|
|
3280
3352
|
return _asyncToGenerator(function* () {
|
|
3281
3353
|
role_id = encodeParam(role_id);
|
|
3282
|
-
return
|
|
3354
|
+
return _this385.delete("/roles/".concat(role_id), null, null, options);
|
|
3283
3355
|
})();
|
|
3284
3356
|
}
|
|
3285
3357
|
role_groups(role_id, fields, options) {
|
|
3286
|
-
var
|
|
3358
|
+
var _this386 = this;
|
|
3287
3359
|
return _asyncToGenerator(function* () {
|
|
3288
3360
|
role_id = encodeParam(role_id);
|
|
3289
|
-
return
|
|
3361
|
+
return _this386.get("/roles/".concat(role_id, "/groups"), {
|
|
3290
3362
|
fields
|
|
3291
3363
|
}, null, options);
|
|
3292
3364
|
})();
|
|
3293
3365
|
}
|
|
3294
3366
|
set_role_groups(role_id, body, options) {
|
|
3295
|
-
var
|
|
3367
|
+
var _this387 = this;
|
|
3296
3368
|
return _asyncToGenerator(function* () {
|
|
3297
3369
|
role_id = encodeParam(role_id);
|
|
3298
|
-
return
|
|
3370
|
+
return _this387.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3299
3371
|
})();
|
|
3300
3372
|
}
|
|
3301
3373
|
role_users(request, options) {
|
|
3302
|
-
var
|
|
3374
|
+
var _this388 = this;
|
|
3303
3375
|
return _asyncToGenerator(function* () {
|
|
3304
3376
|
request.role_id = encodeParam(request.role_id);
|
|
3305
|
-
return
|
|
3377
|
+
return _this388.get("/roles/".concat(request.role_id, "/users"), {
|
|
3306
3378
|
fields: request.fields,
|
|
3307
3379
|
direct_association_only: request.direct_association_only
|
|
3308
3380
|
}, null, options);
|
|
3309
3381
|
})();
|
|
3310
3382
|
}
|
|
3311
3383
|
set_role_users(role_id, body, options) {
|
|
3312
|
-
var
|
|
3384
|
+
var _this389 = this;
|
|
3313
3385
|
return _asyncToGenerator(function* () {
|
|
3314
3386
|
role_id = encodeParam(role_id);
|
|
3315
|
-
return
|
|
3387
|
+
return _this389.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3316
3388
|
})();
|
|
3317
3389
|
}
|
|
3318
3390
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3319
|
-
var
|
|
3391
|
+
var _this390 = this;
|
|
3320
3392
|
return _asyncToGenerator(function* () {
|
|
3321
3393
|
space_id = encodeParam(space_id);
|
|
3322
|
-
return
|
|
3394
|
+
return _this390.get("/scheduled_plans/space/".concat(space_id), {
|
|
3323
3395
|
fields
|
|
3324
3396
|
}, null, options);
|
|
3325
3397
|
})();
|
|
3326
3398
|
}
|
|
3327
3399
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3328
|
-
var
|
|
3400
|
+
var _this391 = this;
|
|
3329
3401
|
return _asyncToGenerator(function* () {
|
|
3330
3402
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3331
|
-
return
|
|
3403
|
+
return _this391.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3332
3404
|
fields
|
|
3333
3405
|
}, null, options);
|
|
3334
3406
|
})();
|
|
3335
3407
|
}
|
|
3336
3408
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3337
|
-
var
|
|
3409
|
+
var _this392 = this;
|
|
3338
3410
|
return _asyncToGenerator(function* () {
|
|
3339
3411
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3340
|
-
return
|
|
3412
|
+
return _this392.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3341
3413
|
})();
|
|
3342
3414
|
}
|
|
3343
3415
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3344
|
-
var
|
|
3416
|
+
var _this393 = this;
|
|
3345
3417
|
return _asyncToGenerator(function* () {
|
|
3346
3418
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3347
|
-
return
|
|
3419
|
+
return _this393.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3348
3420
|
})();
|
|
3349
3421
|
}
|
|
3350
3422
|
all_scheduled_plans(request, options) {
|
|
3351
|
-
var
|
|
3423
|
+
var _this394 = this;
|
|
3352
3424
|
return _asyncToGenerator(function* () {
|
|
3353
|
-
return
|
|
3425
|
+
return _this394.get('/scheduled_plans', {
|
|
3354
3426
|
user_id: request.user_id,
|
|
3355
3427
|
fields: request.fields,
|
|
3356
3428
|
all_users: request.all_users
|
|
@@ -3358,21 +3430,21 @@ export class Looker40SDK extends APIMethods {
|
|
|
3358
3430
|
})();
|
|
3359
3431
|
}
|
|
3360
3432
|
create_scheduled_plan(body, options) {
|
|
3361
|
-
var
|
|
3433
|
+
var _this395 = this;
|
|
3362
3434
|
return _asyncToGenerator(function* () {
|
|
3363
|
-
return
|
|
3435
|
+
return _this395.post('/scheduled_plans', null, body, options);
|
|
3364
3436
|
})();
|
|
3365
3437
|
}
|
|
3366
3438
|
scheduled_plan_run_once(body, options) {
|
|
3367
|
-
var
|
|
3439
|
+
var _this396 = this;
|
|
3368
3440
|
return _asyncToGenerator(function* () {
|
|
3369
|
-
return
|
|
3441
|
+
return _this396.post('/scheduled_plans/run_once', null, body, options);
|
|
3370
3442
|
})();
|
|
3371
3443
|
}
|
|
3372
3444
|
search_scheduled_plans(request, options) {
|
|
3373
|
-
var
|
|
3445
|
+
var _this397 = this;
|
|
3374
3446
|
return _asyncToGenerator(function* () {
|
|
3375
|
-
return
|
|
3447
|
+
return _this397.get('/scheduled_plans/search', {
|
|
3376
3448
|
user_id: request.user_id,
|
|
3377
3449
|
fields: request.fields,
|
|
3378
3450
|
all_users: request.all_users,
|
|
@@ -3393,10 +3465,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3393
3465
|
})();
|
|
3394
3466
|
}
|
|
3395
3467
|
scheduled_plans_for_look(request, options) {
|
|
3396
|
-
var
|
|
3468
|
+
var _this398 = this;
|
|
3397
3469
|
return _asyncToGenerator(function* () {
|
|
3398
3470
|
request.look_id = encodeParam(request.look_id);
|
|
3399
|
-
return
|
|
3471
|
+
return _this398.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3400
3472
|
user_id: request.user_id,
|
|
3401
3473
|
fields: request.fields,
|
|
3402
3474
|
all_users: request.all_users
|
|
@@ -3404,10 +3476,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3404
3476
|
})();
|
|
3405
3477
|
}
|
|
3406
3478
|
scheduled_plans_for_dashboard(request, options) {
|
|
3407
|
-
var
|
|
3479
|
+
var _this399 = this;
|
|
3408
3480
|
return _asyncToGenerator(function* () {
|
|
3409
3481
|
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3410
|
-
return
|
|
3482
|
+
return _this399.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3411
3483
|
user_id: request.user_id,
|
|
3412
3484
|
all_users: request.all_users,
|
|
3413
3485
|
fields: request.fields
|
|
@@ -3415,10 +3487,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3415
3487
|
})();
|
|
3416
3488
|
}
|
|
3417
3489
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3418
|
-
var
|
|
3490
|
+
var _this400 = this;
|
|
3419
3491
|
return _asyncToGenerator(function* () {
|
|
3420
3492
|
request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
|
|
3421
|
-
return
|
|
3493
|
+
return _this400.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3422
3494
|
user_id: request.user_id,
|
|
3423
3495
|
fields: request.fields,
|
|
3424
3496
|
all_users: request.all_users
|
|
@@ -3426,70 +3498,85 @@ export class Looker40SDK extends APIMethods {
|
|
|
3426
3498
|
})();
|
|
3427
3499
|
}
|
|
3428
3500
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3429
|
-
var
|
|
3501
|
+
var _this401 = this;
|
|
3430
3502
|
return _asyncToGenerator(function* () {
|
|
3431
3503
|
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3432
|
-
return
|
|
3504
|
+
return _this401.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3505
|
+
})();
|
|
3506
|
+
}
|
|
3507
|
+
get_self_service_model_allowed_connections(google_sheets, options) {
|
|
3508
|
+
var _this402 = this;
|
|
3509
|
+
return _asyncToGenerator(function* () {
|
|
3510
|
+
return _this402.get('/self_service_models/allowed_connections', {
|
|
3511
|
+
google_sheets
|
|
3512
|
+
}, null, options);
|
|
3513
|
+
})();
|
|
3514
|
+
}
|
|
3515
|
+
get_self_service_model_lookml(model_name, options) {
|
|
3516
|
+
var _this403 = this;
|
|
3517
|
+
return _asyncToGenerator(function* () {
|
|
3518
|
+
model_name = encodeParam(model_name);
|
|
3519
|
+
return _this403.get("/self_service_models/".concat(model_name, "/lookml"), null, null, options);
|
|
3433
3520
|
})();
|
|
3434
3521
|
}
|
|
3435
3522
|
update_self_service_explore_certification(model_name, body, options) {
|
|
3436
|
-
var
|
|
3523
|
+
var _this404 = this;
|
|
3437
3524
|
return _asyncToGenerator(function* () {
|
|
3438
3525
|
model_name = encodeParam(model_name);
|
|
3439
|
-
return
|
|
3526
|
+
return _this404.patch("/self_service_models/".concat(model_name, "/certification"), null, body, options);
|
|
3440
3527
|
})();
|
|
3441
3528
|
}
|
|
3442
3529
|
session(options) {
|
|
3443
|
-
var
|
|
3530
|
+
var _this405 = this;
|
|
3444
3531
|
return _asyncToGenerator(function* () {
|
|
3445
|
-
return
|
|
3532
|
+
return _this405.get('/session', null, null, options);
|
|
3446
3533
|
})();
|
|
3447
3534
|
}
|
|
3448
3535
|
update_session(body, options) {
|
|
3449
|
-
var
|
|
3536
|
+
var _this406 = this;
|
|
3450
3537
|
return _asyncToGenerator(function* () {
|
|
3451
|
-
return
|
|
3538
|
+
return _this406.patch('/session', null, body, options);
|
|
3452
3539
|
})();
|
|
3453
3540
|
}
|
|
3454
3541
|
sql_interface_metadata(avatica_request, options) {
|
|
3455
|
-
var
|
|
3542
|
+
var _this407 = this;
|
|
3456
3543
|
return _asyncToGenerator(function* () {
|
|
3457
|
-
return
|
|
3544
|
+
return _this407.get('/sql_interface_queries/metadata', {
|
|
3458
3545
|
avatica_request
|
|
3459
3546
|
}, null, options);
|
|
3460
3547
|
})();
|
|
3461
3548
|
}
|
|
3462
3549
|
run_sql_interface_query(query_id, result_format, options) {
|
|
3463
|
-
var
|
|
3550
|
+
var _this408 = this;
|
|
3464
3551
|
return _asyncToGenerator(function* () {
|
|
3465
3552
|
result_format = encodeParam(result_format);
|
|
3466
|
-
return
|
|
3553
|
+
return _this408.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3467
3554
|
})();
|
|
3468
3555
|
}
|
|
3469
3556
|
create_sql_interface_query(body, options) {
|
|
3470
|
-
var
|
|
3557
|
+
var _this409 = this;
|
|
3471
3558
|
return _asyncToGenerator(function* () {
|
|
3472
|
-
return
|
|
3559
|
+
return _this409.post('/sql_interface_queries', null, body, options);
|
|
3473
3560
|
})();
|
|
3474
3561
|
}
|
|
3475
3562
|
all_themes(fields, options) {
|
|
3476
|
-
var
|
|
3563
|
+
var _this410 = this;
|
|
3477
3564
|
return _asyncToGenerator(function* () {
|
|
3478
|
-
return
|
|
3565
|
+
return _this410.get('/themes', {
|
|
3479
3566
|
fields
|
|
3480
3567
|
}, null, options);
|
|
3481
3568
|
})();
|
|
3482
3569
|
}
|
|
3483
3570
|
create_theme(body, options) {
|
|
3484
|
-
var
|
|
3571
|
+
var _this411 = this;
|
|
3485
3572
|
return _asyncToGenerator(function* () {
|
|
3486
|
-
return
|
|
3573
|
+
return _this411.post('/themes', null, body, options);
|
|
3487
3574
|
})();
|
|
3488
3575
|
}
|
|
3489
3576
|
search_themes(request, options) {
|
|
3490
|
-
var
|
|
3577
|
+
var _this412 = this;
|
|
3491
3578
|
return _asyncToGenerator(function* () {
|
|
3492
|
-
return
|
|
3579
|
+
return _this412.get('/themes/search', {
|
|
3493
3580
|
id: request.id,
|
|
3494
3581
|
name: request.name,
|
|
3495
3582
|
begin_at: request.begin_at,
|
|
@@ -3498,78 +3585,98 @@ export class Looker40SDK extends APIMethods {
|
|
|
3498
3585
|
offset: request.offset,
|
|
3499
3586
|
sorts: request.sorts,
|
|
3500
3587
|
fields: request.fields,
|
|
3501
|
-
filter_or: request.filter_or
|
|
3588
|
+
filter_or: request.filter_or,
|
|
3589
|
+
theme_type: request.theme_type
|
|
3502
3590
|
}, null, options);
|
|
3503
3591
|
})();
|
|
3504
3592
|
}
|
|
3505
3593
|
default_theme(ts, options) {
|
|
3506
|
-
var
|
|
3594
|
+
var _this413 = this;
|
|
3507
3595
|
return _asyncToGenerator(function* () {
|
|
3508
|
-
return
|
|
3596
|
+
return _this413.get('/themes/default', {
|
|
3509
3597
|
ts
|
|
3510
3598
|
}, null, options);
|
|
3511
3599
|
})();
|
|
3512
3600
|
}
|
|
3513
3601
|
set_default_theme(name, options) {
|
|
3514
|
-
var
|
|
3602
|
+
var _this414 = this;
|
|
3515
3603
|
return _asyncToGenerator(function* () {
|
|
3516
|
-
return
|
|
3604
|
+
return _this414.put('/themes/default', {
|
|
3517
3605
|
name
|
|
3518
3606
|
}, null, options);
|
|
3519
3607
|
})();
|
|
3520
3608
|
}
|
|
3609
|
+
default_theme_by_type(theme_type, ts, options) {
|
|
3610
|
+
var _this415 = this;
|
|
3611
|
+
return _asyncToGenerator(function* () {
|
|
3612
|
+
return _this415.get('/themes/default_theme', {
|
|
3613
|
+
ts,
|
|
3614
|
+
theme_type
|
|
3615
|
+
}, null, options);
|
|
3616
|
+
})();
|
|
3617
|
+
}
|
|
3618
|
+
set_default_theme_by_type(name, theme_type, options) {
|
|
3619
|
+
var _this416 = this;
|
|
3620
|
+
return _asyncToGenerator(function* () {
|
|
3621
|
+
return _this416.put('/themes/default_theme', {
|
|
3622
|
+
name,
|
|
3623
|
+
theme_type
|
|
3624
|
+
}, null, options);
|
|
3625
|
+
})();
|
|
3626
|
+
}
|
|
3521
3627
|
active_themes(request, options) {
|
|
3522
|
-
var
|
|
3628
|
+
var _this417 = this;
|
|
3523
3629
|
return _asyncToGenerator(function* () {
|
|
3524
|
-
return
|
|
3630
|
+
return _this417.get('/themes/active', {
|
|
3525
3631
|
name: request.name,
|
|
3526
3632
|
ts: request.ts,
|
|
3633
|
+
theme_type: request.theme_type,
|
|
3527
3634
|
fields: request.fields
|
|
3528
3635
|
}, null, options);
|
|
3529
3636
|
})();
|
|
3530
3637
|
}
|
|
3531
3638
|
theme_or_default(name, ts, options) {
|
|
3532
|
-
var
|
|
3639
|
+
var _this418 = this;
|
|
3533
3640
|
return _asyncToGenerator(function* () {
|
|
3534
|
-
return
|
|
3641
|
+
return _this418.get('/themes/theme_or_default', {
|
|
3535
3642
|
name,
|
|
3536
3643
|
ts
|
|
3537
3644
|
}, null, options);
|
|
3538
3645
|
})();
|
|
3539
3646
|
}
|
|
3540
3647
|
validate_theme(body, options) {
|
|
3541
|
-
var
|
|
3648
|
+
var _this419 = this;
|
|
3542
3649
|
return _asyncToGenerator(function* () {
|
|
3543
|
-
return
|
|
3650
|
+
return _this419.post('/themes/validate', null, body, options);
|
|
3544
3651
|
})();
|
|
3545
3652
|
}
|
|
3546
3653
|
theme(theme_id, fields, options) {
|
|
3547
|
-
var
|
|
3654
|
+
var _this420 = this;
|
|
3548
3655
|
return _asyncToGenerator(function* () {
|
|
3549
3656
|
theme_id = encodeParam(theme_id);
|
|
3550
|
-
return
|
|
3657
|
+
return _this420.get("/themes/".concat(theme_id), {
|
|
3551
3658
|
fields
|
|
3552
3659
|
}, null, options);
|
|
3553
3660
|
})();
|
|
3554
3661
|
}
|
|
3555
3662
|
update_theme(theme_id, body, options) {
|
|
3556
|
-
var
|
|
3663
|
+
var _this421 = this;
|
|
3557
3664
|
return _asyncToGenerator(function* () {
|
|
3558
3665
|
theme_id = encodeParam(theme_id);
|
|
3559
|
-
return
|
|
3666
|
+
return _this421.patch("/themes/".concat(theme_id), null, body, options);
|
|
3560
3667
|
})();
|
|
3561
3668
|
}
|
|
3562
3669
|
delete_theme(theme_id, options) {
|
|
3563
|
-
var
|
|
3670
|
+
var _this422 = this;
|
|
3564
3671
|
return _asyncToGenerator(function* () {
|
|
3565
3672
|
theme_id = encodeParam(theme_id);
|
|
3566
|
-
return
|
|
3673
|
+
return _this422.delete("/themes/".concat(theme_id), null, null, options);
|
|
3567
3674
|
})();
|
|
3568
3675
|
}
|
|
3569
3676
|
search_credentials_email(request, options) {
|
|
3570
|
-
var
|
|
3677
|
+
var _this423 = this;
|
|
3571
3678
|
return _asyncToGenerator(function* () {
|
|
3572
|
-
return
|
|
3679
|
+
return _this423.get('/credentials_email/search', {
|
|
3573
3680
|
fields: request.fields,
|
|
3574
3681
|
limit: request.limit,
|
|
3575
3682
|
offset: request.offset,
|
|
@@ -3582,17 +3689,17 @@ export class Looker40SDK extends APIMethods {
|
|
|
3582
3689
|
})();
|
|
3583
3690
|
}
|
|
3584
3691
|
me(fields, options) {
|
|
3585
|
-
var
|
|
3692
|
+
var _this424 = this;
|
|
3586
3693
|
return _asyncToGenerator(function* () {
|
|
3587
|
-
return
|
|
3694
|
+
return _this424.get('/user', {
|
|
3588
3695
|
fields
|
|
3589
3696
|
}, null, options);
|
|
3590
3697
|
})();
|
|
3591
3698
|
}
|
|
3592
3699
|
all_users(request, options) {
|
|
3593
|
-
var
|
|
3700
|
+
var _this425 = this;
|
|
3594
3701
|
return _asyncToGenerator(function* () {
|
|
3595
|
-
return
|
|
3702
|
+
return _this425.get('/users', {
|
|
3596
3703
|
fields: request.fields,
|
|
3597
3704
|
page: request.page,
|
|
3598
3705
|
per_page: request.per_page,
|
|
@@ -3604,17 +3711,17 @@ export class Looker40SDK extends APIMethods {
|
|
|
3604
3711
|
})();
|
|
3605
3712
|
}
|
|
3606
3713
|
create_user(body, fields, options) {
|
|
3607
|
-
var
|
|
3714
|
+
var _this426 = this;
|
|
3608
3715
|
return _asyncToGenerator(function* () {
|
|
3609
|
-
return
|
|
3716
|
+
return _this426.post('/users', {
|
|
3610
3717
|
fields
|
|
3611
3718
|
}, body, options);
|
|
3612
3719
|
})();
|
|
3613
3720
|
}
|
|
3614
3721
|
search_users(request, options) {
|
|
3615
|
-
var
|
|
3722
|
+
var _this427 = this;
|
|
3616
3723
|
return _asyncToGenerator(function* () {
|
|
3617
|
-
return
|
|
3724
|
+
return _this427.get('/users/search', {
|
|
3618
3725
|
fields: request.fields,
|
|
3619
3726
|
page: request.page,
|
|
3620
3727
|
per_page: request.per_page,
|
|
@@ -3638,10 +3745,10 @@ export class Looker40SDK extends APIMethods {
|
|
|
3638
3745
|
})();
|
|
3639
3746
|
}
|
|
3640
3747
|
search_users_names(request, options) {
|
|
3641
|
-
var
|
|
3748
|
+
var _this428 = this;
|
|
3642
3749
|
return _asyncToGenerator(function* () {
|
|
3643
3750
|
request.pattern = encodeParam(request.pattern);
|
|
3644
|
-
return
|
|
3751
|
+
return _this428.get("/users/search/names/".concat(request.pattern), {
|
|
3645
3752
|
fields: request.fields,
|
|
3646
3753
|
page: request.page,
|
|
3647
3754
|
per_page: request.per_page,
|
|
@@ -3658,329 +3765,329 @@ export class Looker40SDK extends APIMethods {
|
|
|
3658
3765
|
})();
|
|
3659
3766
|
}
|
|
3660
3767
|
user(user_id, fields, options) {
|
|
3661
|
-
var
|
|
3768
|
+
var _this429 = this;
|
|
3662
3769
|
return _asyncToGenerator(function* () {
|
|
3663
3770
|
user_id = encodeParam(user_id);
|
|
3664
|
-
return
|
|
3771
|
+
return _this429.get("/users/".concat(user_id), {
|
|
3665
3772
|
fields
|
|
3666
3773
|
}, null, options);
|
|
3667
3774
|
})();
|
|
3668
3775
|
}
|
|
3669
3776
|
update_user(user_id, body, fields, options) {
|
|
3670
|
-
var
|
|
3777
|
+
var _this430 = this;
|
|
3671
3778
|
return _asyncToGenerator(function* () {
|
|
3672
3779
|
user_id = encodeParam(user_id);
|
|
3673
|
-
return
|
|
3780
|
+
return _this430.patch("/users/".concat(user_id), {
|
|
3674
3781
|
fields
|
|
3675
3782
|
}, body, options);
|
|
3676
3783
|
})();
|
|
3677
3784
|
}
|
|
3678
3785
|
delete_user(user_id, options) {
|
|
3679
|
-
var
|
|
3786
|
+
var _this431 = this;
|
|
3680
3787
|
return _asyncToGenerator(function* () {
|
|
3681
3788
|
user_id = encodeParam(user_id);
|
|
3682
|
-
return
|
|
3789
|
+
return _this431.delete("/users/".concat(user_id), null, null, options);
|
|
3683
3790
|
})();
|
|
3684
3791
|
}
|
|
3685
3792
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3686
|
-
var
|
|
3793
|
+
var _this432 = this;
|
|
3687
3794
|
return _asyncToGenerator(function* () {
|
|
3688
3795
|
credential_type = encodeParam(credential_type);
|
|
3689
3796
|
credential_id = encodeParam(credential_id);
|
|
3690
|
-
return
|
|
3797
|
+
return _this432.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3691
3798
|
fields
|
|
3692
3799
|
}, null, options);
|
|
3693
3800
|
})();
|
|
3694
3801
|
}
|
|
3695
3802
|
update_service_account(user_id, body, fields, options) {
|
|
3696
|
-
var
|
|
3803
|
+
var _this433 = this;
|
|
3697
3804
|
return _asyncToGenerator(function* () {
|
|
3698
3805
|
user_id = encodeParam(user_id);
|
|
3699
|
-
return
|
|
3806
|
+
return _this433.patch("/users/service_accounts/".concat(user_id), {
|
|
3700
3807
|
fields
|
|
3701
3808
|
}, body, options);
|
|
3702
3809
|
})();
|
|
3703
3810
|
}
|
|
3704
3811
|
delete_service_account(user_id, options) {
|
|
3705
|
-
var
|
|
3812
|
+
var _this434 = this;
|
|
3706
3813
|
return _asyncToGenerator(function* () {
|
|
3707
3814
|
user_id = encodeParam(user_id);
|
|
3708
|
-
return
|
|
3815
|
+
return _this434.delete("/users/service_accounts/".concat(user_id), null, null, options);
|
|
3709
3816
|
})();
|
|
3710
3817
|
}
|
|
3711
3818
|
user_credentials_email(user_id, fields, options) {
|
|
3712
|
-
var
|
|
3819
|
+
var _this435 = this;
|
|
3713
3820
|
return _asyncToGenerator(function* () {
|
|
3714
3821
|
user_id = encodeParam(user_id);
|
|
3715
|
-
return
|
|
3822
|
+
return _this435.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3716
3823
|
fields
|
|
3717
3824
|
}, null, options);
|
|
3718
3825
|
})();
|
|
3719
3826
|
}
|
|
3720
3827
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3721
|
-
var
|
|
3828
|
+
var _this436 = this;
|
|
3722
3829
|
return _asyncToGenerator(function* () {
|
|
3723
3830
|
user_id = encodeParam(user_id);
|
|
3724
|
-
return
|
|
3831
|
+
return _this436.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3725
3832
|
fields
|
|
3726
3833
|
}, body, options);
|
|
3727
3834
|
})();
|
|
3728
3835
|
}
|
|
3729
3836
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3730
|
-
var
|
|
3837
|
+
var _this437 = this;
|
|
3731
3838
|
return _asyncToGenerator(function* () {
|
|
3732
3839
|
user_id = encodeParam(user_id);
|
|
3733
|
-
return
|
|
3840
|
+
return _this437.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3734
3841
|
fields
|
|
3735
3842
|
}, body, options);
|
|
3736
3843
|
})();
|
|
3737
3844
|
}
|
|
3738
3845
|
delete_user_credentials_email(user_id, options) {
|
|
3739
|
-
var
|
|
3846
|
+
var _this438 = this;
|
|
3740
3847
|
return _asyncToGenerator(function* () {
|
|
3741
3848
|
user_id = encodeParam(user_id);
|
|
3742
|
-
return
|
|
3849
|
+
return _this438.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3743
3850
|
})();
|
|
3744
3851
|
}
|
|
3745
3852
|
user_credentials_totp(user_id, fields, options) {
|
|
3746
|
-
var
|
|
3853
|
+
var _this439 = this;
|
|
3747
3854
|
return _asyncToGenerator(function* () {
|
|
3748
3855
|
user_id = encodeParam(user_id);
|
|
3749
|
-
return
|
|
3856
|
+
return _this439.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3750
3857
|
fields
|
|
3751
3858
|
}, null, options);
|
|
3752
3859
|
})();
|
|
3753
3860
|
}
|
|
3754
3861
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3755
|
-
var
|
|
3862
|
+
var _this440 = this;
|
|
3756
3863
|
return _asyncToGenerator(function* () {
|
|
3757
3864
|
user_id = encodeParam(user_id);
|
|
3758
|
-
return
|
|
3865
|
+
return _this440.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3759
3866
|
fields
|
|
3760
3867
|
}, body, options);
|
|
3761
3868
|
})();
|
|
3762
3869
|
}
|
|
3763
3870
|
delete_user_credentials_totp(user_id, options) {
|
|
3764
|
-
var
|
|
3871
|
+
var _this441 = this;
|
|
3765
3872
|
return _asyncToGenerator(function* () {
|
|
3766
3873
|
user_id = encodeParam(user_id);
|
|
3767
|
-
return
|
|
3874
|
+
return _this441.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3768
3875
|
})();
|
|
3769
3876
|
}
|
|
3770
3877
|
user_credentials_ldap(user_id, fields, options) {
|
|
3771
|
-
var
|
|
3878
|
+
var _this442 = this;
|
|
3772
3879
|
return _asyncToGenerator(function* () {
|
|
3773
3880
|
user_id = encodeParam(user_id);
|
|
3774
|
-
return
|
|
3881
|
+
return _this442.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3775
3882
|
fields
|
|
3776
3883
|
}, null, options);
|
|
3777
3884
|
})();
|
|
3778
3885
|
}
|
|
3779
3886
|
delete_user_credentials_ldap(user_id, options) {
|
|
3780
|
-
var
|
|
3887
|
+
var _this443 = this;
|
|
3781
3888
|
return _asyncToGenerator(function* () {
|
|
3782
3889
|
user_id = encodeParam(user_id);
|
|
3783
|
-
return
|
|
3890
|
+
return _this443.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3784
3891
|
})();
|
|
3785
3892
|
}
|
|
3786
3893
|
user_credentials_google(user_id, fields, options) {
|
|
3787
|
-
var
|
|
3894
|
+
var _this444 = this;
|
|
3788
3895
|
return _asyncToGenerator(function* () {
|
|
3789
3896
|
user_id = encodeParam(user_id);
|
|
3790
|
-
return
|
|
3897
|
+
return _this444.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3791
3898
|
fields
|
|
3792
3899
|
}, null, options);
|
|
3793
3900
|
})();
|
|
3794
3901
|
}
|
|
3795
3902
|
delete_user_credentials_google(user_id, options) {
|
|
3796
|
-
var
|
|
3903
|
+
var _this445 = this;
|
|
3797
3904
|
return _asyncToGenerator(function* () {
|
|
3798
3905
|
user_id = encodeParam(user_id);
|
|
3799
|
-
return
|
|
3906
|
+
return _this445.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3800
3907
|
})();
|
|
3801
3908
|
}
|
|
3802
3909
|
user_credentials_saml(user_id, fields, options) {
|
|
3803
|
-
var
|
|
3910
|
+
var _this446 = this;
|
|
3804
3911
|
return _asyncToGenerator(function* () {
|
|
3805
3912
|
user_id = encodeParam(user_id);
|
|
3806
|
-
return
|
|
3913
|
+
return _this446.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3807
3914
|
fields
|
|
3808
3915
|
}, null, options);
|
|
3809
3916
|
})();
|
|
3810
3917
|
}
|
|
3811
3918
|
delete_user_credentials_saml(user_id, options) {
|
|
3812
|
-
var
|
|
3919
|
+
var _this447 = this;
|
|
3813
3920
|
return _asyncToGenerator(function* () {
|
|
3814
3921
|
user_id = encodeParam(user_id);
|
|
3815
|
-
return
|
|
3922
|
+
return _this447.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3816
3923
|
})();
|
|
3817
3924
|
}
|
|
3818
3925
|
user_credentials_oidc(user_id, fields, options) {
|
|
3819
|
-
var
|
|
3926
|
+
var _this448 = this;
|
|
3820
3927
|
return _asyncToGenerator(function* () {
|
|
3821
3928
|
user_id = encodeParam(user_id);
|
|
3822
|
-
return
|
|
3929
|
+
return _this448.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3823
3930
|
fields
|
|
3824
3931
|
}, null, options);
|
|
3825
3932
|
})();
|
|
3826
3933
|
}
|
|
3827
3934
|
delete_user_credentials_oidc(user_id, options) {
|
|
3828
|
-
var
|
|
3935
|
+
var _this449 = this;
|
|
3829
3936
|
return _asyncToGenerator(function* () {
|
|
3830
3937
|
user_id = encodeParam(user_id);
|
|
3831
|
-
return
|
|
3938
|
+
return _this449.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3832
3939
|
})();
|
|
3833
3940
|
}
|
|
3834
3941
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3835
|
-
var
|
|
3942
|
+
var _this450 = this;
|
|
3836
3943
|
return _asyncToGenerator(function* () {
|
|
3837
3944
|
user_id = encodeParam(user_id);
|
|
3838
3945
|
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3839
|
-
return
|
|
3946
|
+
return _this450.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3840
3947
|
fields
|
|
3841
3948
|
}, null, options);
|
|
3842
3949
|
})();
|
|
3843
3950
|
}
|
|
3844
3951
|
update_user_credentials_api3(user_id, credentials_api3_id, body, fields, options) {
|
|
3845
|
-
var
|
|
3952
|
+
var _this451 = this;
|
|
3846
3953
|
return _asyncToGenerator(function* () {
|
|
3847
3954
|
user_id = encodeParam(user_id);
|
|
3848
3955
|
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3849
|
-
return
|
|
3956
|
+
return _this451.patch("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3850
3957
|
fields
|
|
3851
3958
|
}, body, options);
|
|
3852
3959
|
})();
|
|
3853
3960
|
}
|
|
3854
3961
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3855
|
-
var
|
|
3962
|
+
var _this452 = this;
|
|
3856
3963
|
return _asyncToGenerator(function* () {
|
|
3857
3964
|
user_id = encodeParam(user_id);
|
|
3858
3965
|
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3859
|
-
return
|
|
3966
|
+
return _this452.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3860
3967
|
})();
|
|
3861
3968
|
}
|
|
3862
3969
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3863
|
-
var
|
|
3970
|
+
var _this453 = this;
|
|
3864
3971
|
return _asyncToGenerator(function* () {
|
|
3865
3972
|
user_id = encodeParam(user_id);
|
|
3866
|
-
return
|
|
3973
|
+
return _this453.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3867
3974
|
fields
|
|
3868
3975
|
}, null, options);
|
|
3869
3976
|
})();
|
|
3870
3977
|
}
|
|
3871
3978
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3872
|
-
var
|
|
3979
|
+
var _this454 = this;
|
|
3873
3980
|
return _asyncToGenerator(function* () {
|
|
3874
3981
|
user_id = encodeParam(user_id);
|
|
3875
|
-
return
|
|
3982
|
+
return _this454.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3876
3983
|
fields
|
|
3877
3984
|
}, null, options);
|
|
3878
3985
|
})();
|
|
3879
3986
|
}
|
|
3880
3987
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3881
|
-
var
|
|
3988
|
+
var _this455 = this;
|
|
3882
3989
|
return _asyncToGenerator(function* () {
|
|
3883
3990
|
user_id = encodeParam(user_id);
|
|
3884
3991
|
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3885
|
-
return
|
|
3992
|
+
return _this455.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3886
3993
|
fields
|
|
3887
3994
|
}, null, options);
|
|
3888
3995
|
})();
|
|
3889
3996
|
}
|
|
3890
3997
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3891
|
-
var
|
|
3998
|
+
var _this456 = this;
|
|
3892
3999
|
return _asyncToGenerator(function* () {
|
|
3893
4000
|
user_id = encodeParam(user_id);
|
|
3894
4001
|
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3895
|
-
return
|
|
4002
|
+
return _this456.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3896
4003
|
})();
|
|
3897
4004
|
}
|
|
3898
4005
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3899
|
-
var
|
|
4006
|
+
var _this457 = this;
|
|
3900
4007
|
return _asyncToGenerator(function* () {
|
|
3901
4008
|
user_id = encodeParam(user_id);
|
|
3902
|
-
return
|
|
4009
|
+
return _this457.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3903
4010
|
fields
|
|
3904
4011
|
}, null, options);
|
|
3905
4012
|
})();
|
|
3906
4013
|
}
|
|
3907
4014
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3908
|
-
var
|
|
4015
|
+
var _this458 = this;
|
|
3909
4016
|
return _asyncToGenerator(function* () {
|
|
3910
4017
|
user_id = encodeParam(user_id);
|
|
3911
|
-
return
|
|
4018
|
+
return _this458.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3912
4019
|
fields
|
|
3913
4020
|
}, null, options);
|
|
3914
4021
|
})();
|
|
3915
4022
|
}
|
|
3916
4023
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3917
|
-
var
|
|
4024
|
+
var _this459 = this;
|
|
3918
4025
|
return _asyncToGenerator(function* () {
|
|
3919
4026
|
user_id = encodeParam(user_id);
|
|
3920
|
-
return
|
|
4027
|
+
return _this459.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3921
4028
|
})();
|
|
3922
4029
|
}
|
|
3923
4030
|
user_session(user_id, session_id, fields, options) {
|
|
3924
|
-
var
|
|
4031
|
+
var _this460 = this;
|
|
3925
4032
|
return _asyncToGenerator(function* () {
|
|
3926
4033
|
user_id = encodeParam(user_id);
|
|
3927
4034
|
session_id = encodeParam(session_id);
|
|
3928
|
-
return
|
|
4035
|
+
return _this460.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3929
4036
|
fields
|
|
3930
4037
|
}, null, options);
|
|
3931
4038
|
})();
|
|
3932
4039
|
}
|
|
3933
4040
|
delete_user_session(user_id, session_id, options) {
|
|
3934
|
-
var
|
|
4041
|
+
var _this461 = this;
|
|
3935
4042
|
return _asyncToGenerator(function* () {
|
|
3936
4043
|
user_id = encodeParam(user_id);
|
|
3937
4044
|
session_id = encodeParam(session_id);
|
|
3938
|
-
return
|
|
4045
|
+
return _this461.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3939
4046
|
})();
|
|
3940
4047
|
}
|
|
3941
4048
|
all_user_sessions(user_id, fields, options) {
|
|
3942
|
-
var
|
|
4049
|
+
var _this462 = this;
|
|
3943
4050
|
return _asyncToGenerator(function* () {
|
|
3944
4051
|
user_id = encodeParam(user_id);
|
|
3945
|
-
return
|
|
4052
|
+
return _this462.get("/users/".concat(user_id, "/sessions"), {
|
|
3946
4053
|
fields
|
|
3947
4054
|
}, null, options);
|
|
3948
4055
|
})();
|
|
3949
4056
|
}
|
|
3950
4057
|
create_user_credentials_email_password_reset(request, options) {
|
|
3951
|
-
var
|
|
4058
|
+
var _this463 = this;
|
|
3952
4059
|
return _asyncToGenerator(function* () {
|
|
3953
4060
|
request.user_id = encodeParam(request.user_id);
|
|
3954
|
-
return
|
|
4061
|
+
return _this463.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3955
4062
|
expires: request.expires,
|
|
3956
4063
|
fields: request.fields
|
|
3957
4064
|
}, null, options);
|
|
3958
4065
|
})();
|
|
3959
4066
|
}
|
|
3960
4067
|
user_roles(request, options) {
|
|
3961
|
-
var
|
|
4068
|
+
var _this464 = this;
|
|
3962
4069
|
return _asyncToGenerator(function* () {
|
|
3963
4070
|
request.user_id = encodeParam(request.user_id);
|
|
3964
|
-
return
|
|
4071
|
+
return _this464.get("/users/".concat(request.user_id, "/roles"), {
|
|
3965
4072
|
fields: request.fields,
|
|
3966
4073
|
direct_association_only: request.direct_association_only
|
|
3967
4074
|
}, null, options);
|
|
3968
4075
|
})();
|
|
3969
4076
|
}
|
|
3970
4077
|
set_user_roles(user_id, body, fields, options) {
|
|
3971
|
-
var
|
|
4078
|
+
var _this465 = this;
|
|
3972
4079
|
return _asyncToGenerator(function* () {
|
|
3973
4080
|
user_id = encodeParam(user_id);
|
|
3974
|
-
return
|
|
4081
|
+
return _this465.put("/users/".concat(user_id, "/roles"), {
|
|
3975
4082
|
fields
|
|
3976
4083
|
}, body, options);
|
|
3977
4084
|
})();
|
|
3978
4085
|
}
|
|
3979
4086
|
user_attribute_user_values(request, options) {
|
|
3980
|
-
var
|
|
4087
|
+
var _this466 = this;
|
|
3981
4088
|
return _asyncToGenerator(function* () {
|
|
3982
4089
|
request.user_id = encodeParam(request.user_id);
|
|
3983
|
-
return
|
|
4090
|
+
return _this466.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3984
4091
|
fields: request.fields,
|
|
3985
4092
|
user_attribute_ids: request.user_attribute_ids,
|
|
3986
4093
|
all_values: request.all_values,
|
|
@@ -3989,122 +4096,122 @@ export class Looker40SDK extends APIMethods {
|
|
|
3989
4096
|
})();
|
|
3990
4097
|
}
|
|
3991
4098
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3992
|
-
var
|
|
4099
|
+
var _this467 = this;
|
|
3993
4100
|
return _asyncToGenerator(function* () {
|
|
3994
4101
|
user_id = encodeParam(user_id);
|
|
3995
4102
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
3996
|
-
return
|
|
4103
|
+
return _this467.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3997
4104
|
})();
|
|
3998
4105
|
}
|
|
3999
4106
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
4000
|
-
var
|
|
4107
|
+
var _this468 = this;
|
|
4001
4108
|
return _asyncToGenerator(function* () {
|
|
4002
4109
|
user_id = encodeParam(user_id);
|
|
4003
4110
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
4004
|
-
return
|
|
4111
|
+
return _this468.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
4005
4112
|
})();
|
|
4006
4113
|
}
|
|
4007
4114
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
4008
|
-
var
|
|
4115
|
+
var _this469 = this;
|
|
4009
4116
|
return _asyncToGenerator(function* () {
|
|
4010
4117
|
user_id = encodeParam(user_id);
|
|
4011
|
-
return
|
|
4118
|
+
return _this469.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
4012
4119
|
fields
|
|
4013
4120
|
}, null, options);
|
|
4014
4121
|
})();
|
|
4015
4122
|
}
|
|
4016
4123
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
4017
|
-
var
|
|
4124
|
+
var _this470 = this;
|
|
4018
4125
|
return _asyncToGenerator(function* () {
|
|
4019
4126
|
user_id = encodeParam(user_id);
|
|
4020
|
-
return
|
|
4127
|
+
return _this470.post("/users/".concat(user_id, "/update_emails"), {
|
|
4021
4128
|
fields
|
|
4022
4129
|
}, body, options);
|
|
4023
4130
|
})();
|
|
4024
4131
|
}
|
|
4025
4132
|
create_embed_user(body, options) {
|
|
4026
|
-
var
|
|
4133
|
+
var _this471 = this;
|
|
4027
4134
|
return _asyncToGenerator(function* () {
|
|
4028
|
-
return
|
|
4135
|
+
return _this471.post('/users/embed_user', null, body, options);
|
|
4029
4136
|
})();
|
|
4030
4137
|
}
|
|
4031
4138
|
create_service_account(body, fields, options) {
|
|
4032
|
-
var
|
|
4139
|
+
var _this472 = this;
|
|
4033
4140
|
return _asyncToGenerator(function* () {
|
|
4034
|
-
return
|
|
4141
|
+
return _this472.post('/users/service_accounts', {
|
|
4035
4142
|
fields
|
|
4036
4143
|
}, body, options);
|
|
4037
4144
|
})();
|
|
4038
4145
|
}
|
|
4039
4146
|
all_user_attributes(request, options) {
|
|
4040
|
-
var
|
|
4147
|
+
var _this473 = this;
|
|
4041
4148
|
return _asyncToGenerator(function* () {
|
|
4042
|
-
return
|
|
4149
|
+
return _this473.get('/user_attributes', {
|
|
4043
4150
|
fields: request.fields,
|
|
4044
4151
|
sorts: request.sorts
|
|
4045
4152
|
}, null, options);
|
|
4046
4153
|
})();
|
|
4047
4154
|
}
|
|
4048
4155
|
create_user_attribute(body, fields, options) {
|
|
4049
|
-
var
|
|
4156
|
+
var _this474 = this;
|
|
4050
4157
|
return _asyncToGenerator(function* () {
|
|
4051
|
-
return
|
|
4158
|
+
return _this474.post('/user_attributes', {
|
|
4052
4159
|
fields
|
|
4053
4160
|
}, body, options);
|
|
4054
4161
|
})();
|
|
4055
4162
|
}
|
|
4056
4163
|
user_attribute(user_attribute_id, fields, options) {
|
|
4057
|
-
var
|
|
4164
|
+
var _this475 = this;
|
|
4058
4165
|
return _asyncToGenerator(function* () {
|
|
4059
4166
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
4060
|
-
return
|
|
4167
|
+
return _this475.get("/user_attributes/".concat(user_attribute_id), {
|
|
4061
4168
|
fields
|
|
4062
4169
|
}, null, options);
|
|
4063
4170
|
})();
|
|
4064
4171
|
}
|
|
4065
4172
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
4066
|
-
var
|
|
4173
|
+
var _this476 = this;
|
|
4067
4174
|
return _asyncToGenerator(function* () {
|
|
4068
4175
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
4069
|
-
return
|
|
4176
|
+
return _this476.patch("/user_attributes/".concat(user_attribute_id), {
|
|
4070
4177
|
fields
|
|
4071
4178
|
}, body, options);
|
|
4072
4179
|
})();
|
|
4073
4180
|
}
|
|
4074
4181
|
delete_user_attribute(user_attribute_id, options) {
|
|
4075
|
-
var
|
|
4182
|
+
var _this477 = this;
|
|
4076
4183
|
return _asyncToGenerator(function* () {
|
|
4077
4184
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
4078
|
-
return
|
|
4185
|
+
return _this477.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
4079
4186
|
})();
|
|
4080
4187
|
}
|
|
4081
4188
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
4082
|
-
var
|
|
4189
|
+
var _this478 = this;
|
|
4083
4190
|
return _asyncToGenerator(function* () {
|
|
4084
4191
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
4085
|
-
return
|
|
4192
|
+
return _this478.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
4086
4193
|
fields
|
|
4087
4194
|
}, null, options);
|
|
4088
4195
|
})();
|
|
4089
4196
|
}
|
|
4090
4197
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
4091
|
-
var
|
|
4198
|
+
var _this479 = this;
|
|
4092
4199
|
return _asyncToGenerator(function* () {
|
|
4093
4200
|
user_attribute_id = encodeParam(user_attribute_id);
|
|
4094
|
-
return
|
|
4201
|
+
return _this479.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
4095
4202
|
})();
|
|
4096
4203
|
}
|
|
4097
4204
|
all_workspaces(options) {
|
|
4098
|
-
var
|
|
4205
|
+
var _this480 = this;
|
|
4099
4206
|
return _asyncToGenerator(function* () {
|
|
4100
|
-
return
|
|
4207
|
+
return _this480.get('/workspaces', null, null, options);
|
|
4101
4208
|
})();
|
|
4102
4209
|
}
|
|
4103
4210
|
workspace(workspace_id, options) {
|
|
4104
|
-
var
|
|
4211
|
+
var _this481 = this;
|
|
4105
4212
|
return _asyncToGenerator(function* () {
|
|
4106
4213
|
workspace_id = encodeParam(workspace_id);
|
|
4107
|
-
return
|
|
4214
|
+
return _this481.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
4108
4215
|
})();
|
|
4109
4216
|
}
|
|
4110
4217
|
}
|