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