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