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