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