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