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