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