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