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