@looker/sdk 25.8.0 → 25.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/lib/4.0/funcs.d.ts +5 -4
- package/lib/4.0/funcs.js +209 -195
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +5 -4
- package/lib/4.0/methods.js +146 -134
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +5 -4
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +46 -22
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +4 -3
- package/lib/4.0/streams.js +146 -134
- 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 +208 -194
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +146 -134
- 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 +146 -134
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/4.0/methods.js
CHANGED
|
@@ -1157,6 +1157,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1157
1157
|
dashboard_id: request.dashboard_id,
|
|
1158
1158
|
look_id: request.look_id,
|
|
1159
1159
|
board_id: request.board_id,
|
|
1160
|
+
include_board_items: request.include_board_items,
|
|
1160
1161
|
limit: request.limit,
|
|
1161
1162
|
offset: request.offset,
|
|
1162
1163
|
sorts: request.sorts,
|
|
@@ -2337,223 +2338,242 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2337
2338
|
}, body, options);
|
|
2338
2339
|
})();
|
|
2339
2340
|
}
|
|
2340
|
-
|
|
2341
|
+
get_ci_run(project_id, run_id, fields, options) {
|
|
2341
2342
|
var _this276 = this;
|
|
2342
2343
|
return _asyncToGenerator(function* () {
|
|
2343
2344
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2344
|
-
|
|
2345
|
+
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2346
|
+
return _this276.get("/projects/".concat(project_id, "/ci/runs/").concat(run_id), {
|
|
2345
2347
|
fields
|
|
2346
2348
|
}, null, options);
|
|
2347
2349
|
})();
|
|
2348
2350
|
}
|
|
2349
|
-
|
|
2351
|
+
create_ci_run(project_id, body, fields, options) {
|
|
2350
2352
|
var _this277 = this;
|
|
2351
2353
|
return _asyncToGenerator(function* () {
|
|
2352
2354
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2353
|
-
return _this277.
|
|
2355
|
+
return _this277.post("/projects/".concat(project_id, "/ci/run"), {
|
|
2356
|
+
fields
|
|
2357
|
+
}, body, options);
|
|
2354
2358
|
})();
|
|
2355
2359
|
}
|
|
2356
|
-
|
|
2360
|
+
lock_all(project_id, fields, options) {
|
|
2357
2361
|
var _this278 = this;
|
|
2358
2362
|
return _asyncToGenerator(function* () {
|
|
2359
2363
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2360
|
-
return _this278.
|
|
2364
|
+
return _this278.post("/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2365
|
+
fields
|
|
2366
|
+
}, null, options);
|
|
2361
2367
|
})();
|
|
2362
2368
|
}
|
|
2363
|
-
|
|
2369
|
+
all_git_branches(project_id, options) {
|
|
2364
2370
|
var _this279 = this;
|
|
2365
2371
|
return _asyncToGenerator(function* () {
|
|
2366
2372
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2367
|
-
return _this279.
|
|
2373
|
+
return _this279.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2368
2374
|
})();
|
|
2369
2375
|
}
|
|
2370
|
-
|
|
2376
|
+
git_branch(project_id, options) {
|
|
2371
2377
|
var _this280 = this;
|
|
2372
2378
|
return _asyncToGenerator(function* () {
|
|
2373
2379
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2374
|
-
return _this280.
|
|
2380
|
+
return _this280.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2375
2381
|
})();
|
|
2376
2382
|
}
|
|
2377
|
-
|
|
2383
|
+
update_git_branch(project_id, body, options) {
|
|
2378
2384
|
var _this281 = this;
|
|
2385
|
+
return _asyncToGenerator(function* () {
|
|
2386
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2387
|
+
return _this281.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2388
|
+
})();
|
|
2389
|
+
}
|
|
2390
|
+
create_git_branch(project_id, body, options) {
|
|
2391
|
+
var _this282 = this;
|
|
2392
|
+
return _asyncToGenerator(function* () {
|
|
2393
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2394
|
+
return _this282.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2395
|
+
})();
|
|
2396
|
+
}
|
|
2397
|
+
find_git_branch(project_id, branch_name, options) {
|
|
2398
|
+
var _this283 = this;
|
|
2379
2399
|
return _asyncToGenerator(function* () {
|
|
2380
2400
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2381
2401
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2382
|
-
return
|
|
2402
|
+
return _this283.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2383
2403
|
})();
|
|
2384
2404
|
}
|
|
2385
2405
|
delete_git_branch(project_id, branch_name, options) {
|
|
2386
|
-
var
|
|
2406
|
+
var _this284 = this;
|
|
2387
2407
|
return _asyncToGenerator(function* () {
|
|
2388
2408
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2389
2409
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2390
|
-
return
|
|
2410
|
+
return _this284.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2391
2411
|
})();
|
|
2392
2412
|
}
|
|
2393
2413
|
deploy_ref_to_production(request, options) {
|
|
2394
|
-
var
|
|
2414
|
+
var _this285 = this;
|
|
2395
2415
|
return _asyncToGenerator(function* () {
|
|
2396
2416
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2397
|
-
return
|
|
2417
|
+
return _this285.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2398
2418
|
branch: request.branch,
|
|
2399
2419
|
ref: request.ref
|
|
2400
2420
|
}, null, options);
|
|
2401
2421
|
})();
|
|
2402
2422
|
}
|
|
2403
2423
|
deploy_to_production(project_id, options) {
|
|
2404
|
-
var
|
|
2424
|
+
var _this286 = this;
|
|
2405
2425
|
return _asyncToGenerator(function* () {
|
|
2406
2426
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2407
|
-
return
|
|
2427
|
+
return _this286.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2408
2428
|
})();
|
|
2409
2429
|
}
|
|
2410
2430
|
reset_project_to_production(project_id, options) {
|
|
2411
|
-
var
|
|
2431
|
+
var _this287 = this;
|
|
2412
2432
|
return _asyncToGenerator(function* () {
|
|
2413
2433
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2414
|
-
return
|
|
2434
|
+
return _this287.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2415
2435
|
})();
|
|
2416
2436
|
}
|
|
2417
2437
|
reset_project_to_remote(project_id, options) {
|
|
2418
|
-
var
|
|
2438
|
+
var _this288 = this;
|
|
2419
2439
|
return _asyncToGenerator(function* () {
|
|
2420
2440
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2421
|
-
return
|
|
2441
|
+
return _this288.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2422
2442
|
})();
|
|
2423
2443
|
}
|
|
2424
2444
|
all_projects(fields, options) {
|
|
2425
|
-
var
|
|
2445
|
+
var _this289 = this;
|
|
2426
2446
|
return _asyncToGenerator(function* () {
|
|
2427
|
-
return
|
|
2447
|
+
return _this289.get('/projects', {
|
|
2428
2448
|
fields
|
|
2429
2449
|
}, null, options);
|
|
2430
2450
|
})();
|
|
2431
2451
|
}
|
|
2432
2452
|
create_project(body, options) {
|
|
2433
|
-
var
|
|
2453
|
+
var _this290 = this;
|
|
2434
2454
|
return _asyncToGenerator(function* () {
|
|
2435
|
-
return
|
|
2455
|
+
return _this290.post('/projects', null, body, options);
|
|
2436
2456
|
})();
|
|
2437
2457
|
}
|
|
2438
2458
|
project(project_id, fields, options) {
|
|
2439
|
-
var
|
|
2459
|
+
var _this291 = this;
|
|
2440
2460
|
return _asyncToGenerator(function* () {
|
|
2441
2461
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2442
|
-
return
|
|
2462
|
+
return _this291.get("/projects/".concat(project_id), {
|
|
2443
2463
|
fields
|
|
2444
2464
|
}, null, options);
|
|
2445
2465
|
})();
|
|
2446
2466
|
}
|
|
2447
2467
|
update_project(project_id, body, fields, options) {
|
|
2448
|
-
var
|
|
2468
|
+
var _this292 = this;
|
|
2449
2469
|
return _asyncToGenerator(function* () {
|
|
2450
2470
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2451
|
-
return
|
|
2471
|
+
return _this292.patch("/projects/".concat(project_id), {
|
|
2452
2472
|
fields
|
|
2453
2473
|
}, body, options);
|
|
2454
2474
|
})();
|
|
2455
2475
|
}
|
|
2456
2476
|
manifest(project_id, options) {
|
|
2457
|
-
var
|
|
2477
|
+
var _this293 = this;
|
|
2458
2478
|
return _asyncToGenerator(function* () {
|
|
2459
2479
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2460
|
-
return
|
|
2480
|
+
return _this293.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2461
2481
|
})();
|
|
2462
2482
|
}
|
|
2463
2483
|
git_deploy_key(project_id, options) {
|
|
2464
|
-
var
|
|
2484
|
+
var _this294 = this;
|
|
2465
2485
|
return _asyncToGenerator(function* () {
|
|
2466
2486
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2467
|
-
return
|
|
2487
|
+
return _this294.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2468
2488
|
})();
|
|
2469
2489
|
}
|
|
2470
2490
|
create_git_deploy_key(project_id, options) {
|
|
2471
|
-
var
|
|
2491
|
+
var _this295 = this;
|
|
2472
2492
|
return _asyncToGenerator(function* () {
|
|
2473
2493
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2474
|
-
return
|
|
2494
|
+
return _this295.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2475
2495
|
})();
|
|
2476
2496
|
}
|
|
2477
2497
|
project_validation_results(project_id, fields, options) {
|
|
2478
|
-
var
|
|
2498
|
+
var _this296 = this;
|
|
2479
2499
|
return _asyncToGenerator(function* () {
|
|
2480
2500
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2481
|
-
return
|
|
2501
|
+
return _this296.get("/projects/".concat(project_id, "/validate"), {
|
|
2482
2502
|
fields
|
|
2483
2503
|
}, null, options);
|
|
2484
2504
|
})();
|
|
2485
2505
|
}
|
|
2486
2506
|
validate_project(project_id, fields, options) {
|
|
2487
|
-
var
|
|
2507
|
+
var _this297 = this;
|
|
2488
2508
|
return _asyncToGenerator(function* () {
|
|
2489
2509
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2490
|
-
return
|
|
2510
|
+
return _this297.post("/projects/".concat(project_id, "/validate"), {
|
|
2491
2511
|
fields
|
|
2492
2512
|
}, null, options);
|
|
2493
2513
|
})();
|
|
2494
2514
|
}
|
|
2495
2515
|
project_workspace(project_id, fields, options) {
|
|
2496
|
-
var
|
|
2516
|
+
var _this298 = this;
|
|
2497
2517
|
return _asyncToGenerator(function* () {
|
|
2498
2518
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2499
|
-
return
|
|
2519
|
+
return _this298.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2500
2520
|
fields
|
|
2501
2521
|
}, null, options);
|
|
2502
2522
|
})();
|
|
2503
2523
|
}
|
|
2504
2524
|
all_project_files(project_id, fields, options) {
|
|
2505
|
-
var
|
|
2525
|
+
var _this299 = this;
|
|
2506
2526
|
return _asyncToGenerator(function* () {
|
|
2507
2527
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2508
|
-
return
|
|
2528
|
+
return _this299.get("/projects/".concat(project_id, "/files"), {
|
|
2509
2529
|
fields
|
|
2510
2530
|
}, null, options);
|
|
2511
2531
|
})();
|
|
2512
2532
|
}
|
|
2513
2533
|
project_file(project_id, file_id, fields, options) {
|
|
2514
|
-
var
|
|
2534
|
+
var _this300 = this;
|
|
2515
2535
|
return _asyncToGenerator(function* () {
|
|
2516
2536
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2517
|
-
return
|
|
2537
|
+
return _this300.get("/projects/".concat(project_id, "/files/file"), {
|
|
2518
2538
|
file_id,
|
|
2519
2539
|
fields
|
|
2520
2540
|
}, null, options);
|
|
2521
2541
|
})();
|
|
2522
2542
|
}
|
|
2523
2543
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2524
|
-
var
|
|
2544
|
+
var _this301 = this;
|
|
2525
2545
|
return _asyncToGenerator(function* () {
|
|
2526
2546
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2527
|
-
return
|
|
2547
|
+
return _this301.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2528
2548
|
remote_url
|
|
2529
2549
|
}, null, options);
|
|
2530
2550
|
})();
|
|
2531
2551
|
}
|
|
2532
2552
|
run_git_connection_test(request, options) {
|
|
2533
|
-
var
|
|
2553
|
+
var _this302 = this;
|
|
2534
2554
|
return _asyncToGenerator(function* () {
|
|
2535
2555
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2536
2556
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2537
|
-
return
|
|
2557
|
+
return _this302.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2538
2558
|
remote_url: request.remote_url,
|
|
2539
2559
|
use_production: request.use_production
|
|
2540
2560
|
}, null, options);
|
|
2541
2561
|
})();
|
|
2542
2562
|
}
|
|
2543
2563
|
all_lookml_tests(project_id, file_id, options) {
|
|
2544
|
-
var
|
|
2564
|
+
var _this303 = this;
|
|
2545
2565
|
return _asyncToGenerator(function* () {
|
|
2546
2566
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2547
|
-
return
|
|
2567
|
+
return _this303.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2548
2568
|
file_id
|
|
2549
2569
|
}, null, options);
|
|
2550
2570
|
})();
|
|
2551
2571
|
}
|
|
2552
2572
|
run_lookml_test(request, options) {
|
|
2553
|
-
var
|
|
2573
|
+
var _this304 = this;
|
|
2554
2574
|
return _asyncToGenerator(function* () {
|
|
2555
2575
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2556
|
-
return
|
|
2576
|
+
return _this304.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2557
2577
|
file_id: request.file_id,
|
|
2558
2578
|
test: request.test,
|
|
2559
2579
|
model: request.model
|
|
@@ -2561,35 +2581,16 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2561
2581
|
})();
|
|
2562
2582
|
}
|
|
2563
2583
|
tag_ref(request, options) {
|
|
2564
|
-
var
|
|
2584
|
+
var _this305 = this;
|
|
2565
2585
|
return _asyncToGenerator(function* () {
|
|
2566
2586
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2567
|
-
return
|
|
2587
|
+
return _this305.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2568
2588
|
commit_sha: request.commit_sha,
|
|
2569
2589
|
tag_name: request.tag_name,
|
|
2570
2590
|
tag_message: request.tag_message
|
|
2571
2591
|
}, request.body, options);
|
|
2572
2592
|
})();
|
|
2573
2593
|
}
|
|
2574
|
-
get_ci_run(project_id, run_id, fields, options) {
|
|
2575
|
-
var _this304 = this;
|
|
2576
|
-
return _asyncToGenerator(function* () {
|
|
2577
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2578
|
-
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2579
|
-
return _this304.get("/projects/".concat(project_id, "/ci/runs/").concat(run_id), {
|
|
2580
|
-
fields
|
|
2581
|
-
}, null, options);
|
|
2582
|
-
})();
|
|
2583
|
-
}
|
|
2584
|
-
create_ci_run(project_id, body, fields, options) {
|
|
2585
|
-
var _this305 = this;
|
|
2586
|
-
return _asyncToGenerator(function* () {
|
|
2587
|
-
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2588
|
-
return _this305.post("/projects/".concat(project_id, "/ci/run"), {
|
|
2589
|
-
fields
|
|
2590
|
-
}, body, options);
|
|
2591
|
-
})();
|
|
2592
|
-
}
|
|
2593
2594
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2594
2595
|
var _this306 = this;
|
|
2595
2596
|
return _asyncToGenerator(function* () {
|
|
@@ -3391,7 +3392,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3391
3392
|
is_disabled: request.is_disabled,
|
|
3392
3393
|
filter_or: request.filter_or,
|
|
3393
3394
|
content_metadata_id: request.content_metadata_id,
|
|
3394
|
-
group_id: request.group_id
|
|
3395
|
+
group_id: request.group_id,
|
|
3396
|
+
can_manage_api3_creds: request.can_manage_api3_creds
|
|
3395
3397
|
}, null, options);
|
|
3396
3398
|
})();
|
|
3397
3399
|
}
|
|
@@ -3583,136 +3585,146 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3583
3585
|
}, null, options);
|
|
3584
3586
|
})();
|
|
3585
3587
|
}
|
|
3586
|
-
|
|
3588
|
+
update_user_credentials_api3(user_id, credentials_api3_id, body, fields, options) {
|
|
3587
3589
|
var _this411 = this;
|
|
3588
3590
|
return _asyncToGenerator(function* () {
|
|
3589
3591
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3590
3592
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3591
|
-
return _this411.
|
|
3593
|
+
return _this411.patch("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3594
|
+
fields
|
|
3595
|
+
}, body, options);
|
|
3592
3596
|
})();
|
|
3593
3597
|
}
|
|
3594
|
-
|
|
3598
|
+
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3595
3599
|
var _this412 = this;
|
|
3596
3600
|
return _asyncToGenerator(function* () {
|
|
3597
3601
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3598
|
-
|
|
3602
|
+
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3603
|
+
return _this412.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3604
|
+
})();
|
|
3605
|
+
}
|
|
3606
|
+
all_user_credentials_api3s(user_id, fields, options) {
|
|
3607
|
+
var _this413 = this;
|
|
3608
|
+
return _asyncToGenerator(function* () {
|
|
3609
|
+
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3610
|
+
return _this413.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3599
3611
|
fields
|
|
3600
3612
|
}, null, options);
|
|
3601
3613
|
})();
|
|
3602
3614
|
}
|
|
3603
3615
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3604
|
-
var
|
|
3616
|
+
var _this414 = this;
|
|
3605
3617
|
return _asyncToGenerator(function* () {
|
|
3606
3618
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3607
|
-
return
|
|
3619
|
+
return _this414.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3608
3620
|
fields
|
|
3609
3621
|
}, null, options);
|
|
3610
3622
|
})();
|
|
3611
3623
|
}
|
|
3612
3624
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3613
|
-
var
|
|
3625
|
+
var _this415 = this;
|
|
3614
3626
|
return _asyncToGenerator(function* () {
|
|
3615
3627
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3616
3628
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3617
|
-
return
|
|
3629
|
+
return _this415.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3618
3630
|
fields
|
|
3619
3631
|
}, null, options);
|
|
3620
3632
|
})();
|
|
3621
3633
|
}
|
|
3622
3634
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3623
|
-
var
|
|
3635
|
+
var _this416 = this;
|
|
3624
3636
|
return _asyncToGenerator(function* () {
|
|
3625
3637
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3626
3638
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3627
|
-
return
|
|
3639
|
+
return _this416.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3628
3640
|
})();
|
|
3629
3641
|
}
|
|
3630
3642
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3631
|
-
var
|
|
3643
|
+
var _this417 = this;
|
|
3632
3644
|
return _asyncToGenerator(function* () {
|
|
3633
3645
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3634
|
-
return
|
|
3646
|
+
return _this417.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3635
3647
|
fields
|
|
3636
3648
|
}, null, options);
|
|
3637
3649
|
})();
|
|
3638
3650
|
}
|
|
3639
3651
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3640
|
-
var
|
|
3652
|
+
var _this418 = this;
|
|
3641
3653
|
return _asyncToGenerator(function* () {
|
|
3642
3654
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3643
|
-
return
|
|
3655
|
+
return _this418.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3644
3656
|
fields
|
|
3645
3657
|
}, null, options);
|
|
3646
3658
|
})();
|
|
3647
3659
|
}
|
|
3648
3660
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3649
|
-
var
|
|
3661
|
+
var _this419 = this;
|
|
3650
3662
|
return _asyncToGenerator(function* () {
|
|
3651
3663
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3652
|
-
return
|
|
3664
|
+
return _this419.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3653
3665
|
})();
|
|
3654
3666
|
}
|
|
3655
3667
|
user_session(user_id, session_id, fields, options) {
|
|
3656
|
-
var
|
|
3668
|
+
var _this420 = this;
|
|
3657
3669
|
return _asyncToGenerator(function* () {
|
|
3658
3670
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3659
3671
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3660
|
-
return
|
|
3672
|
+
return _this420.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3661
3673
|
fields
|
|
3662
3674
|
}, null, options);
|
|
3663
3675
|
})();
|
|
3664
3676
|
}
|
|
3665
3677
|
delete_user_session(user_id, session_id, options) {
|
|
3666
|
-
var
|
|
3678
|
+
var _this421 = this;
|
|
3667
3679
|
return _asyncToGenerator(function* () {
|
|
3668
3680
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3669
3681
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3670
|
-
return
|
|
3682
|
+
return _this421.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3671
3683
|
})();
|
|
3672
3684
|
}
|
|
3673
3685
|
all_user_sessions(user_id, fields, options) {
|
|
3674
|
-
var
|
|
3686
|
+
var _this422 = this;
|
|
3675
3687
|
return _asyncToGenerator(function* () {
|
|
3676
3688
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3677
|
-
return
|
|
3689
|
+
return _this422.get("/users/".concat(user_id, "/sessions"), {
|
|
3678
3690
|
fields
|
|
3679
3691
|
}, null, options);
|
|
3680
3692
|
})();
|
|
3681
3693
|
}
|
|
3682
3694
|
create_user_credentials_email_password_reset(request, options) {
|
|
3683
|
-
var
|
|
3695
|
+
var _this423 = this;
|
|
3684
3696
|
return _asyncToGenerator(function* () {
|
|
3685
3697
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3686
|
-
return
|
|
3698
|
+
return _this423.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3687
3699
|
expires: request.expires,
|
|
3688
3700
|
fields: request.fields
|
|
3689
3701
|
}, null, options);
|
|
3690
3702
|
})();
|
|
3691
3703
|
}
|
|
3692
3704
|
user_roles(request, options) {
|
|
3693
|
-
var
|
|
3705
|
+
var _this424 = this;
|
|
3694
3706
|
return _asyncToGenerator(function* () {
|
|
3695
3707
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3696
|
-
return
|
|
3708
|
+
return _this424.get("/users/".concat(request.user_id, "/roles"), {
|
|
3697
3709
|
fields: request.fields,
|
|
3698
3710
|
direct_association_only: request.direct_association_only
|
|
3699
3711
|
}, null, options);
|
|
3700
3712
|
})();
|
|
3701
3713
|
}
|
|
3702
3714
|
set_user_roles(user_id, body, fields, options) {
|
|
3703
|
-
var
|
|
3715
|
+
var _this425 = this;
|
|
3704
3716
|
return _asyncToGenerator(function* () {
|
|
3705
3717
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3706
|
-
return
|
|
3718
|
+
return _this425.put("/users/".concat(user_id, "/roles"), {
|
|
3707
3719
|
fields
|
|
3708
3720
|
}, body, options);
|
|
3709
3721
|
})();
|
|
3710
3722
|
}
|
|
3711
3723
|
user_attribute_user_values(request, options) {
|
|
3712
|
-
var
|
|
3724
|
+
var _this426 = this;
|
|
3713
3725
|
return _asyncToGenerator(function* () {
|
|
3714
3726
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3715
|
-
return
|
|
3727
|
+
return _this426.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3716
3728
|
fields: request.fields,
|
|
3717
3729
|
user_attribute_ids: request.user_attribute_ids,
|
|
3718
3730
|
all_values: request.all_values,
|
|
@@ -3721,114 +3733,114 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3721
3733
|
})();
|
|
3722
3734
|
}
|
|
3723
3735
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3724
|
-
var
|
|
3736
|
+
var _this427 = this;
|
|
3725
3737
|
return _asyncToGenerator(function* () {
|
|
3726
3738
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3727
3739
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3728
|
-
return
|
|
3740
|
+
return _this427.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3729
3741
|
})();
|
|
3730
3742
|
}
|
|
3731
3743
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3732
|
-
var
|
|
3744
|
+
var _this428 = this;
|
|
3733
3745
|
return _asyncToGenerator(function* () {
|
|
3734
3746
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3735
3747
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3736
|
-
return
|
|
3748
|
+
return _this428.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3737
3749
|
})();
|
|
3738
3750
|
}
|
|
3739
3751
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3740
|
-
var
|
|
3752
|
+
var _this429 = this;
|
|
3741
3753
|
return _asyncToGenerator(function* () {
|
|
3742
3754
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3743
|
-
return
|
|
3755
|
+
return _this429.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3744
3756
|
fields
|
|
3745
3757
|
}, null, options);
|
|
3746
3758
|
})();
|
|
3747
3759
|
}
|
|
3748
3760
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3749
|
-
var
|
|
3761
|
+
var _this430 = this;
|
|
3750
3762
|
return _asyncToGenerator(function* () {
|
|
3751
3763
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3752
|
-
return
|
|
3764
|
+
return _this430.post("/users/".concat(user_id, "/update_emails"), {
|
|
3753
3765
|
fields
|
|
3754
3766
|
}, body, options);
|
|
3755
3767
|
})();
|
|
3756
3768
|
}
|
|
3757
3769
|
create_embed_user(body, options) {
|
|
3758
|
-
var
|
|
3770
|
+
var _this431 = this;
|
|
3759
3771
|
return _asyncToGenerator(function* () {
|
|
3760
|
-
return
|
|
3772
|
+
return _this431.post('/users/embed_user', null, body, options);
|
|
3761
3773
|
})();
|
|
3762
3774
|
}
|
|
3763
3775
|
all_user_attributes(request, options) {
|
|
3764
|
-
var
|
|
3776
|
+
var _this432 = this;
|
|
3765
3777
|
return _asyncToGenerator(function* () {
|
|
3766
|
-
return
|
|
3778
|
+
return _this432.get('/user_attributes', {
|
|
3767
3779
|
fields: request.fields,
|
|
3768
3780
|
sorts: request.sorts
|
|
3769
3781
|
}, null, options);
|
|
3770
3782
|
})();
|
|
3771
3783
|
}
|
|
3772
3784
|
create_user_attribute(body, fields, options) {
|
|
3773
|
-
var
|
|
3785
|
+
var _this433 = this;
|
|
3774
3786
|
return _asyncToGenerator(function* () {
|
|
3775
|
-
return
|
|
3787
|
+
return _this433.post('/user_attributes', {
|
|
3776
3788
|
fields
|
|
3777
3789
|
}, body, options);
|
|
3778
3790
|
})();
|
|
3779
3791
|
}
|
|
3780
3792
|
user_attribute(user_attribute_id, fields, options) {
|
|
3781
|
-
var
|
|
3793
|
+
var _this434 = this;
|
|
3782
3794
|
return _asyncToGenerator(function* () {
|
|
3783
3795
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3784
|
-
return
|
|
3796
|
+
return _this434.get("/user_attributes/".concat(user_attribute_id), {
|
|
3785
3797
|
fields
|
|
3786
3798
|
}, null, options);
|
|
3787
3799
|
})();
|
|
3788
3800
|
}
|
|
3789
3801
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3790
|
-
var
|
|
3802
|
+
var _this435 = this;
|
|
3791
3803
|
return _asyncToGenerator(function* () {
|
|
3792
3804
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3793
|
-
return
|
|
3805
|
+
return _this435.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3794
3806
|
fields
|
|
3795
3807
|
}, body, options);
|
|
3796
3808
|
})();
|
|
3797
3809
|
}
|
|
3798
3810
|
delete_user_attribute(user_attribute_id, options) {
|
|
3799
|
-
var
|
|
3811
|
+
var _this436 = this;
|
|
3800
3812
|
return _asyncToGenerator(function* () {
|
|
3801
3813
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3802
|
-
return
|
|
3814
|
+
return _this436.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3803
3815
|
})();
|
|
3804
3816
|
}
|
|
3805
3817
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3806
|
-
var
|
|
3818
|
+
var _this437 = this;
|
|
3807
3819
|
return _asyncToGenerator(function* () {
|
|
3808
3820
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3809
|
-
return
|
|
3821
|
+
return _this437.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3810
3822
|
fields
|
|
3811
3823
|
}, null, options);
|
|
3812
3824
|
})();
|
|
3813
3825
|
}
|
|
3814
3826
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3815
|
-
var
|
|
3827
|
+
var _this438 = this;
|
|
3816
3828
|
return _asyncToGenerator(function* () {
|
|
3817
3829
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3818
|
-
return
|
|
3830
|
+
return _this438.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3819
3831
|
})();
|
|
3820
3832
|
}
|
|
3821
3833
|
all_workspaces(options) {
|
|
3822
|
-
var
|
|
3834
|
+
var _this439 = this;
|
|
3823
3835
|
return _asyncToGenerator(function* () {
|
|
3824
|
-
return
|
|
3836
|
+
return _this439.get('/workspaces', null, null, options);
|
|
3825
3837
|
})();
|
|
3826
3838
|
}
|
|
3827
3839
|
workspace(workspace_id, options) {
|
|
3828
|
-
var
|
|
3840
|
+
var _this440 = this;
|
|
3829
3841
|
return _asyncToGenerator(function* () {
|
|
3830
3842
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3831
|
-
return
|
|
3843
|
+
return _this440.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3832
3844
|
})();
|
|
3833
3845
|
}
|
|
3834
3846
|
}
|