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