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