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