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