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