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