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