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