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