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