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