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