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