@looker/sdk 26.4.0 → 26.6.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 +21 -0
- package/lib/4.0/funcs.d.ts +2 -1
- package/lib/4.0/funcs.js +600 -592
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +2 -1
- package/lib/4.0/methods.js +400 -394
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +2 -1
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +42 -0
- package/lib/4.0/models.js +6 -1
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +2 -1
- package/lib/4.0/streams.js +400 -394
- 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 +598 -590
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +400 -394
- 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 +5 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +400 -394
- 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 +3 -3
package/lib/4.0/streams.js
CHANGED
|
@@ -111,10 +111,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
111
111
|
login(callback, request, options) {
|
|
112
112
|
var _this12 = this;
|
|
113
113
|
return _asyncToGenerator(function* () {
|
|
114
|
-
return _this12.authStream(callback, 'POST', '/login', null, {
|
|
114
|
+
return _this12.authStream(callback, 'POST', '/login', null, new URLSearchParams({
|
|
115
115
|
client_id: request.client_id,
|
|
116
116
|
client_secret: request.client_secret
|
|
117
|
-
}, options);
|
|
117
|
+
}), options);
|
|
118
118
|
})();
|
|
119
119
|
}
|
|
120
120
|
login_user(callback, user_id, associative, options) {
|
|
@@ -2293,26 +2293,32 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2293
2293
|
return _this272.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2294
2294
|
})();
|
|
2295
2295
|
}
|
|
2296
|
-
|
|
2296
|
+
run_key_driver_analysis(callback, body, options) {
|
|
2297
2297
|
var _this273 = this;
|
|
2298
2298
|
return _asyncToGenerator(function* () {
|
|
2299
|
-
return _this273.authStream(callback, '
|
|
2299
|
+
return _this273.authStream(callback, 'POST', '/internal/kda/analyze', null, body, options);
|
|
2300
|
+
})();
|
|
2301
|
+
}
|
|
2302
|
+
all_looks(callback, fields, options) {
|
|
2303
|
+
var _this274 = this;
|
|
2304
|
+
return _asyncToGenerator(function* () {
|
|
2305
|
+
return _this274.authStream(callback, 'GET', '/looks', {
|
|
2300
2306
|
fields
|
|
2301
2307
|
}, null, options);
|
|
2302
2308
|
})();
|
|
2303
2309
|
}
|
|
2304
2310
|
create_look(callback, body, fields, options) {
|
|
2305
|
-
var
|
|
2311
|
+
var _this275 = this;
|
|
2306
2312
|
return _asyncToGenerator(function* () {
|
|
2307
|
-
return
|
|
2313
|
+
return _this275.authStream(callback, 'POST', '/looks', {
|
|
2308
2314
|
fields
|
|
2309
2315
|
}, body, options);
|
|
2310
2316
|
})();
|
|
2311
2317
|
}
|
|
2312
2318
|
search_looks(callback, request, options) {
|
|
2313
|
-
var
|
|
2319
|
+
var _this276 = this;
|
|
2314
2320
|
return _asyncToGenerator(function* () {
|
|
2315
|
-
return
|
|
2321
|
+
return _this276.authStream(callback, 'GET', '/looks/search', {
|
|
2316
2322
|
id: request.id,
|
|
2317
2323
|
title: request.title,
|
|
2318
2324
|
description: request.description,
|
|
@@ -2335,36 +2341,36 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2335
2341
|
})();
|
|
2336
2342
|
}
|
|
2337
2343
|
look(callback, look_id, fields, options) {
|
|
2338
|
-
var
|
|
2344
|
+
var _this277 = this;
|
|
2339
2345
|
return _asyncToGenerator(function* () {
|
|
2340
2346
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2341
|
-
return
|
|
2347
|
+
return _this277.authStream(callback, 'GET', "/looks/".concat(look_id), {
|
|
2342
2348
|
fields
|
|
2343
2349
|
}, null, options);
|
|
2344
2350
|
})();
|
|
2345
2351
|
}
|
|
2346
2352
|
update_look(callback, look_id, body, fields, options) {
|
|
2347
|
-
var
|
|
2353
|
+
var _this278 = this;
|
|
2348
2354
|
return _asyncToGenerator(function* () {
|
|
2349
2355
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2350
|
-
return
|
|
2356
|
+
return _this278.authStream(callback, 'PATCH', "/looks/".concat(look_id), {
|
|
2351
2357
|
fields
|
|
2352
2358
|
}, body, options);
|
|
2353
2359
|
})();
|
|
2354
2360
|
}
|
|
2355
2361
|
delete_look(callback, look_id, options) {
|
|
2356
|
-
var
|
|
2362
|
+
var _this279 = this;
|
|
2357
2363
|
return _asyncToGenerator(function* () {
|
|
2358
2364
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2359
|
-
return
|
|
2365
|
+
return _this279.authStream(callback, 'DELETE', "/looks/".concat(look_id), null, null, options);
|
|
2360
2366
|
})();
|
|
2361
2367
|
}
|
|
2362
2368
|
run_look(callback, request, options) {
|
|
2363
|
-
var
|
|
2369
|
+
var _this280 = this;
|
|
2364
2370
|
return _asyncToGenerator(function* () {
|
|
2365
2371
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
2366
2372
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2367
|
-
return
|
|
2373
|
+
return _this280.authStream(callback, 'GET', "/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2368
2374
|
limit: request.limit,
|
|
2369
2375
|
apply_formatting: request.apply_formatting,
|
|
2370
2376
|
apply_vis: request.apply_vis,
|
|
@@ -2381,34 +2387,34 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2381
2387
|
})();
|
|
2382
2388
|
}
|
|
2383
2389
|
copy_look(callback, look_id, folder_id, options) {
|
|
2384
|
-
var
|
|
2390
|
+
var _this281 = this;
|
|
2385
2391
|
return _asyncToGenerator(function* () {
|
|
2386
2392
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2387
|
-
return
|
|
2393
|
+
return _this281.authStream(callback, 'POST', "/looks/".concat(look_id, "/copy"), {
|
|
2388
2394
|
folder_id
|
|
2389
2395
|
}, null, options);
|
|
2390
2396
|
})();
|
|
2391
2397
|
}
|
|
2392
2398
|
move_look(callback, look_id, folder_id, options) {
|
|
2393
|
-
var
|
|
2399
|
+
var _this282 = this;
|
|
2394
2400
|
return _asyncToGenerator(function* () {
|
|
2395
2401
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2396
|
-
return
|
|
2402
|
+
return _this282.authStream(callback, 'PATCH', "/looks/".concat(look_id, "/move"), {
|
|
2397
2403
|
folder_id
|
|
2398
2404
|
}, null, options);
|
|
2399
2405
|
})();
|
|
2400
2406
|
}
|
|
2401
2407
|
update_look_certification(callback, look_id, body, options) {
|
|
2402
|
-
var
|
|
2408
|
+
var _this283 = this;
|
|
2403
2409
|
return _asyncToGenerator(function* () {
|
|
2404
2410
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2405
|
-
return
|
|
2411
|
+
return _this283.authStream(callback, 'PATCH', "/looks/".concat(look_id, "/certification"), null, body, options);
|
|
2406
2412
|
})();
|
|
2407
2413
|
}
|
|
2408
2414
|
all_lookml_models(callback, request, options) {
|
|
2409
|
-
var
|
|
2415
|
+
var _this284 = this;
|
|
2410
2416
|
return _asyncToGenerator(function* () {
|
|
2411
|
-
return
|
|
2417
|
+
return _this284.authStream(callback, 'GET', '/lookml_models', {
|
|
2412
2418
|
fields: request.fields,
|
|
2413
2419
|
limit: request.limit,
|
|
2414
2420
|
offset: request.offset,
|
|
@@ -2420,85 +2426,85 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2420
2426
|
})();
|
|
2421
2427
|
}
|
|
2422
2428
|
create_lookml_model(callback, body, options) {
|
|
2423
|
-
var
|
|
2429
|
+
var _this285 = this;
|
|
2424
2430
|
return _asyncToGenerator(function* () {
|
|
2425
|
-
return
|
|
2431
|
+
return _this285.authStream(callback, 'POST', '/lookml_models', null, body, options);
|
|
2426
2432
|
})();
|
|
2427
2433
|
}
|
|
2428
2434
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
2429
|
-
var
|
|
2435
|
+
var _this286 = this;
|
|
2430
2436
|
return _asyncToGenerator(function* () {
|
|
2431
2437
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2432
|
-
return
|
|
2438
|
+
return _this286.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
2433
2439
|
fields
|
|
2434
2440
|
}, null, options);
|
|
2435
2441
|
})();
|
|
2436
2442
|
}
|
|
2437
2443
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
2438
|
-
var
|
|
2444
|
+
var _this287 = this;
|
|
2439
2445
|
return _asyncToGenerator(function* () {
|
|
2440
2446
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2441
|
-
return
|
|
2447
|
+
return _this287.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2442
2448
|
})();
|
|
2443
2449
|
}
|
|
2444
2450
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
2445
|
-
var
|
|
2451
|
+
var _this288 = this;
|
|
2446
2452
|
return _asyncToGenerator(function* () {
|
|
2447
2453
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2448
|
-
return
|
|
2454
|
+
return _this288.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2449
2455
|
})();
|
|
2450
2456
|
}
|
|
2451
2457
|
lookml_model_explore(callback, request, options) {
|
|
2452
|
-
var
|
|
2458
|
+
var _this289 = this;
|
|
2453
2459
|
return _asyncToGenerator(function* () {
|
|
2454
2460
|
request.lookml_model_name = (0, _sdkRtl.encodeParam)(request.lookml_model_name);
|
|
2455
2461
|
request.explore_name = (0, _sdkRtl.encodeParam)(request.explore_name);
|
|
2456
|
-
return
|
|
2462
|
+
return _this289.authStream(callback, 'GET', "/lookml_models/".concat(request.lookml_model_name, "/explores/").concat(request.explore_name), {
|
|
2457
2463
|
fields: request.fields,
|
|
2458
2464
|
add_drills_metadata: request.add_drills_metadata
|
|
2459
2465
|
}, null, options);
|
|
2460
2466
|
})();
|
|
2461
2467
|
}
|
|
2462
2468
|
model_fieldname_suggestions(callback, request, options) {
|
|
2463
|
-
var
|
|
2469
|
+
var _this290 = this;
|
|
2464
2470
|
return _asyncToGenerator(function* () {
|
|
2465
2471
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2466
2472
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2467
2473
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2468
|
-
return
|
|
2474
|
+
return _this290.authStream(callback, 'GET', "/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2469
2475
|
term: request.term,
|
|
2470
2476
|
filters: request.filters
|
|
2471
2477
|
}, null, options);
|
|
2472
2478
|
})();
|
|
2473
2479
|
}
|
|
2474
2480
|
get_model(callback, model_name, options) {
|
|
2475
|
-
var
|
|
2481
|
+
var _this291 = this;
|
|
2476
2482
|
return _asyncToGenerator(function* () {
|
|
2477
2483
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2478
|
-
return
|
|
2484
|
+
return _this291.authStream(callback, 'GET', "/models/".concat(model_name), null, null, options);
|
|
2479
2485
|
})();
|
|
2480
2486
|
}
|
|
2481
2487
|
connection_databases(callback, connection_name, options) {
|
|
2482
|
-
var
|
|
2488
|
+
var _this292 = this;
|
|
2483
2489
|
return _asyncToGenerator(function* () {
|
|
2484
2490
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2485
|
-
return
|
|
2491
|
+
return _this292.authStream(callback, 'GET', "/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2486
2492
|
})();
|
|
2487
2493
|
}
|
|
2488
2494
|
connection_features(callback, connection_name, fields, options) {
|
|
2489
|
-
var
|
|
2495
|
+
var _this293 = this;
|
|
2490
2496
|
return _asyncToGenerator(function* () {
|
|
2491
2497
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2492
|
-
return
|
|
2498
|
+
return _this293.authStream(callback, 'GET', "/connections/".concat(connection_name, "/features"), {
|
|
2493
2499
|
fields
|
|
2494
2500
|
}, null, options);
|
|
2495
2501
|
})();
|
|
2496
2502
|
}
|
|
2497
2503
|
connection_schemas(callback, request, options) {
|
|
2498
|
-
var
|
|
2504
|
+
var _this294 = this;
|
|
2499
2505
|
return _asyncToGenerator(function* () {
|
|
2500
2506
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2501
|
-
return
|
|
2507
|
+
return _this294.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/schemas"), {
|
|
2502
2508
|
database: request.database,
|
|
2503
2509
|
cache: request.cache,
|
|
2504
2510
|
fields: request.fields
|
|
@@ -2506,10 +2512,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2506
2512
|
})();
|
|
2507
2513
|
}
|
|
2508
2514
|
connection_tables(callback, request, options) {
|
|
2509
|
-
var
|
|
2515
|
+
var _this295 = this;
|
|
2510
2516
|
return _asyncToGenerator(function* () {
|
|
2511
2517
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2512
|
-
return
|
|
2518
|
+
return _this295.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/tables"), {
|
|
2513
2519
|
database: request.database,
|
|
2514
2520
|
schema_name: request.schema_name,
|
|
2515
2521
|
cache: request.cache,
|
|
@@ -2520,10 +2526,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2520
2526
|
})();
|
|
2521
2527
|
}
|
|
2522
2528
|
connection_columns(callback, request, options) {
|
|
2523
|
-
var
|
|
2529
|
+
var _this296 = this;
|
|
2524
2530
|
return _asyncToGenerator(function* () {
|
|
2525
2531
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2526
|
-
return
|
|
2532
|
+
return _this296.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/columns"), {
|
|
2527
2533
|
database: request.database,
|
|
2528
2534
|
schema_name: request.schema_name,
|
|
2529
2535
|
cache: request.cache,
|
|
@@ -2534,279 +2540,279 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2534
2540
|
})();
|
|
2535
2541
|
}
|
|
2536
2542
|
connection_search_columns(callback, request, options) {
|
|
2537
|
-
var
|
|
2543
|
+
var _this297 = this;
|
|
2538
2544
|
return _asyncToGenerator(function* () {
|
|
2539
2545
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2540
|
-
return
|
|
2546
|
+
return _this297.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2541
2547
|
column_name: request.column_name,
|
|
2542
2548
|
fields: request.fields
|
|
2543
2549
|
}, null, options);
|
|
2544
2550
|
})();
|
|
2545
2551
|
}
|
|
2546
2552
|
connection_cost_estimate(callback, connection_name, body, fields, options) {
|
|
2547
|
-
var
|
|
2553
|
+
var _this298 = this;
|
|
2548
2554
|
return _asyncToGenerator(function* () {
|
|
2549
2555
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2550
|
-
return
|
|
2556
|
+
return _this298.authStream(callback, 'POST', "/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2551
2557
|
fields
|
|
2552
2558
|
}, body, options);
|
|
2553
2559
|
})();
|
|
2554
2560
|
}
|
|
2555
2561
|
get_ci_run(callback, project_id, run_id, fields, options) {
|
|
2556
|
-
var
|
|
2562
|
+
var _this299 = this;
|
|
2557
2563
|
return _asyncToGenerator(function* () {
|
|
2558
2564
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2559
2565
|
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2560
|
-
return
|
|
2566
|
+
return _this299.authStream(callback, 'GET', "/projects/".concat(project_id, "/ci/runs/").concat(run_id), {
|
|
2561
2567
|
fields
|
|
2562
2568
|
}, null, options);
|
|
2563
2569
|
})();
|
|
2564
2570
|
}
|
|
2565
2571
|
create_ci_run(callback, project_id, body, fields, options) {
|
|
2566
|
-
var
|
|
2572
|
+
var _this300 = this;
|
|
2567
2573
|
return _asyncToGenerator(function* () {
|
|
2568
2574
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2569
|
-
return
|
|
2575
|
+
return _this300.authStream(callback, 'POST', "/projects/".concat(project_id, "/ci/run"), {
|
|
2570
2576
|
fields
|
|
2571
2577
|
}, body, options);
|
|
2572
2578
|
})();
|
|
2573
2579
|
}
|
|
2574
2580
|
create_continuous_integration_run(callback, project_id, body, fields, options) {
|
|
2575
|
-
var
|
|
2581
|
+
var _this301 = this;
|
|
2576
2582
|
return _asyncToGenerator(function* () {
|
|
2577
2583
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2578
|
-
return
|
|
2584
|
+
return _this301.authStream(callback, 'POST', "/projects/".concat(project_id, "/continuous_integration/runs"), {
|
|
2579
2585
|
fields
|
|
2580
2586
|
}, body, options);
|
|
2581
2587
|
})();
|
|
2582
2588
|
}
|
|
2583
2589
|
get_continuous_integration_run(callback, project_id, run_id, fields, options) {
|
|
2584
|
-
var
|
|
2590
|
+
var _this302 = this;
|
|
2585
2591
|
return _asyncToGenerator(function* () {
|
|
2586
2592
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2587
2593
|
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2588
|
-
return
|
|
2594
|
+
return _this302.authStream(callback, 'GET', "/projects/".concat(project_id, "/continuous_integration/runs/").concat(run_id), {
|
|
2589
2595
|
fields
|
|
2590
2596
|
}, null, options);
|
|
2591
2597
|
})();
|
|
2592
2598
|
}
|
|
2593
2599
|
lock_all(callback, project_id, fields, options) {
|
|
2594
|
-
var
|
|
2600
|
+
var _this303 = this;
|
|
2595
2601
|
return _asyncToGenerator(function* () {
|
|
2596
2602
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2597
|
-
return
|
|
2603
|
+
return _this303.authStream(callback, 'POST', "/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2598
2604
|
fields
|
|
2599
2605
|
}, null, options);
|
|
2600
2606
|
})();
|
|
2601
2607
|
}
|
|
2602
2608
|
all_git_branches(callback, project_id, options) {
|
|
2603
|
-
var
|
|
2609
|
+
var _this304 = this;
|
|
2604
2610
|
return _asyncToGenerator(function* () {
|
|
2605
2611
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2606
|
-
return
|
|
2612
|
+
return _this304.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2607
2613
|
})();
|
|
2608
2614
|
}
|
|
2609
2615
|
git_branch(callback, project_id, options) {
|
|
2610
|
-
var
|
|
2616
|
+
var _this305 = this;
|
|
2611
2617
|
return _asyncToGenerator(function* () {
|
|
2612
2618
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2613
|
-
return
|
|
2619
|
+
return _this305.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2614
2620
|
})();
|
|
2615
2621
|
}
|
|
2616
2622
|
update_git_branch(callback, project_id, body, options) {
|
|
2617
|
-
var
|
|
2623
|
+
var _this306 = this;
|
|
2618
2624
|
return _asyncToGenerator(function* () {
|
|
2619
2625
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2620
|
-
return
|
|
2626
|
+
return _this306.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2621
2627
|
})();
|
|
2622
2628
|
}
|
|
2623
2629
|
create_git_branch(callback, project_id, body, options) {
|
|
2624
|
-
var
|
|
2630
|
+
var _this307 = this;
|
|
2625
2631
|
return _asyncToGenerator(function* () {
|
|
2626
2632
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2627
|
-
return
|
|
2633
|
+
return _this307.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2628
2634
|
})();
|
|
2629
2635
|
}
|
|
2630
2636
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
2631
|
-
var
|
|
2637
|
+
var _this308 = this;
|
|
2632
2638
|
return _asyncToGenerator(function* () {
|
|
2633
2639
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2634
2640
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2635
|
-
return
|
|
2641
|
+
return _this308.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2636
2642
|
})();
|
|
2637
2643
|
}
|
|
2638
2644
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2639
|
-
var
|
|
2645
|
+
var _this309 = this;
|
|
2640
2646
|
return _asyncToGenerator(function* () {
|
|
2641
2647
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2642
2648
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2643
|
-
return
|
|
2649
|
+
return _this309.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2644
2650
|
})();
|
|
2645
2651
|
}
|
|
2646
2652
|
deploy_ref_to_production(callback, request, options) {
|
|
2647
|
-
var
|
|
2653
|
+
var _this310 = this;
|
|
2648
2654
|
return _asyncToGenerator(function* () {
|
|
2649
2655
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2650
|
-
return
|
|
2656
|
+
return _this310.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2651
2657
|
branch: request.branch,
|
|
2652
2658
|
ref: request.ref
|
|
2653
2659
|
}, null, options);
|
|
2654
2660
|
})();
|
|
2655
2661
|
}
|
|
2656
2662
|
deploy_to_production(callback, project_id, options) {
|
|
2657
|
-
var
|
|
2663
|
+
var _this311 = this;
|
|
2658
2664
|
return _asyncToGenerator(function* () {
|
|
2659
2665
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2660
|
-
return
|
|
2666
|
+
return _this311.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2661
2667
|
})();
|
|
2662
2668
|
}
|
|
2663
2669
|
reset_project_to_production(callback, project_id, options) {
|
|
2664
|
-
var
|
|
2670
|
+
var _this312 = this;
|
|
2665
2671
|
return _asyncToGenerator(function* () {
|
|
2666
2672
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2667
|
-
return
|
|
2673
|
+
return _this312.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2668
2674
|
})();
|
|
2669
2675
|
}
|
|
2670
2676
|
reset_project_to_remote(callback, project_id, options) {
|
|
2671
|
-
var
|
|
2677
|
+
var _this313 = this;
|
|
2672
2678
|
return _asyncToGenerator(function* () {
|
|
2673
2679
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2674
|
-
return
|
|
2680
|
+
return _this313.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2675
2681
|
})();
|
|
2676
2682
|
}
|
|
2677
2683
|
all_projects(callback, fields, options) {
|
|
2678
|
-
var
|
|
2684
|
+
var _this314 = this;
|
|
2679
2685
|
return _asyncToGenerator(function* () {
|
|
2680
|
-
return
|
|
2686
|
+
return _this314.authStream(callback, 'GET', '/projects', {
|
|
2681
2687
|
fields
|
|
2682
2688
|
}, null, options);
|
|
2683
2689
|
})();
|
|
2684
2690
|
}
|
|
2685
2691
|
create_project(callback, body, options) {
|
|
2686
|
-
var
|
|
2692
|
+
var _this315 = this;
|
|
2687
2693
|
return _asyncToGenerator(function* () {
|
|
2688
|
-
return
|
|
2694
|
+
return _this315.authStream(callback, 'POST', '/projects', null, body, options);
|
|
2689
2695
|
})();
|
|
2690
2696
|
}
|
|
2691
2697
|
project(callback, project_id, fields, options) {
|
|
2692
|
-
var
|
|
2698
|
+
var _this316 = this;
|
|
2693
2699
|
return _asyncToGenerator(function* () {
|
|
2694
2700
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2695
|
-
return
|
|
2701
|
+
return _this316.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2696
2702
|
fields
|
|
2697
2703
|
}, null, options);
|
|
2698
2704
|
})();
|
|
2699
2705
|
}
|
|
2700
2706
|
update_project(callback, project_id, body, fields, options) {
|
|
2701
|
-
var
|
|
2707
|
+
var _this317 = this;
|
|
2702
2708
|
return _asyncToGenerator(function* () {
|
|
2703
2709
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2704
|
-
return
|
|
2710
|
+
return _this317.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2705
2711
|
fields
|
|
2706
2712
|
}, body, options);
|
|
2707
2713
|
})();
|
|
2708
2714
|
}
|
|
2709
2715
|
manifest(callback, project_id, options) {
|
|
2710
|
-
var
|
|
2716
|
+
var _this318 = this;
|
|
2711
2717
|
return _asyncToGenerator(function* () {
|
|
2712
2718
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2713
|
-
return
|
|
2719
|
+
return _this318.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2714
2720
|
})();
|
|
2715
2721
|
}
|
|
2716
2722
|
git_deploy_key(callback, project_id, options) {
|
|
2717
|
-
var
|
|
2723
|
+
var _this319 = this;
|
|
2718
2724
|
return _asyncToGenerator(function* () {
|
|
2719
2725
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2720
|
-
return
|
|
2726
|
+
return _this319.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2721
2727
|
})();
|
|
2722
2728
|
}
|
|
2723
2729
|
create_git_deploy_key(callback, project_id, options) {
|
|
2724
|
-
var
|
|
2730
|
+
var _this320 = this;
|
|
2725
2731
|
return _asyncToGenerator(function* () {
|
|
2726
2732
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2727
|
-
return
|
|
2733
|
+
return _this320.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2728
2734
|
})();
|
|
2729
2735
|
}
|
|
2730
2736
|
project_validation_results(callback, project_id, fields, options) {
|
|
2731
|
-
var
|
|
2737
|
+
var _this321 = this;
|
|
2732
2738
|
return _asyncToGenerator(function* () {
|
|
2733
2739
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2734
|
-
return
|
|
2740
|
+
return _this321.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2735
2741
|
fields
|
|
2736
2742
|
}, null, options);
|
|
2737
2743
|
})();
|
|
2738
2744
|
}
|
|
2739
2745
|
validate_project(callback, project_id, fields, options) {
|
|
2740
|
-
var
|
|
2746
|
+
var _this322 = this;
|
|
2741
2747
|
return _asyncToGenerator(function* () {
|
|
2742
2748
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2743
|
-
return
|
|
2749
|
+
return _this322.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2744
2750
|
fields
|
|
2745
2751
|
}, null, options);
|
|
2746
2752
|
})();
|
|
2747
2753
|
}
|
|
2748
2754
|
project_workspace(callback, project_id, fields, options) {
|
|
2749
|
-
var
|
|
2755
|
+
var _this323 = this;
|
|
2750
2756
|
return _asyncToGenerator(function* () {
|
|
2751
2757
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2752
|
-
return
|
|
2758
|
+
return _this323.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2753
2759
|
fields
|
|
2754
2760
|
}, null, options);
|
|
2755
2761
|
})();
|
|
2756
2762
|
}
|
|
2757
2763
|
all_project_files(callback, project_id, fields, options) {
|
|
2758
|
-
var
|
|
2764
|
+
var _this324 = this;
|
|
2759
2765
|
return _asyncToGenerator(function* () {
|
|
2760
2766
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2761
|
-
return
|
|
2767
|
+
return _this324.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2762
2768
|
fields
|
|
2763
2769
|
}, null, options);
|
|
2764
2770
|
})();
|
|
2765
2771
|
}
|
|
2766
2772
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2767
|
-
var
|
|
2773
|
+
var _this325 = this;
|
|
2768
2774
|
return _asyncToGenerator(function* () {
|
|
2769
2775
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2770
|
-
return
|
|
2776
|
+
return _this325.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2771
2777
|
file_id,
|
|
2772
2778
|
fields
|
|
2773
2779
|
}, null, options);
|
|
2774
2780
|
})();
|
|
2775
2781
|
}
|
|
2776
2782
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2777
|
-
var
|
|
2783
|
+
var _this326 = this;
|
|
2778
2784
|
return _asyncToGenerator(function* () {
|
|
2779
2785
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2780
|
-
return
|
|
2786
|
+
return _this326.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2781
2787
|
remote_url
|
|
2782
2788
|
}, null, options);
|
|
2783
2789
|
})();
|
|
2784
2790
|
}
|
|
2785
2791
|
run_git_connection_test(callback, request, options) {
|
|
2786
|
-
var
|
|
2792
|
+
var _this327 = this;
|
|
2787
2793
|
return _asyncToGenerator(function* () {
|
|
2788
2794
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2789
2795
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2790
|
-
return
|
|
2796
|
+
return _this327.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2791
2797
|
remote_url: request.remote_url,
|
|
2792
2798
|
use_production: request.use_production
|
|
2793
2799
|
}, null, options);
|
|
2794
2800
|
})();
|
|
2795
2801
|
}
|
|
2796
2802
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2797
|
-
var
|
|
2803
|
+
var _this328 = this;
|
|
2798
2804
|
return _asyncToGenerator(function* () {
|
|
2799
2805
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2800
|
-
return
|
|
2806
|
+
return _this328.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2801
2807
|
file_id
|
|
2802
2808
|
}, null, options);
|
|
2803
2809
|
})();
|
|
2804
2810
|
}
|
|
2805
2811
|
run_lookml_test(callback, request, options) {
|
|
2806
|
-
var
|
|
2812
|
+
var _this329 = this;
|
|
2807
2813
|
return _asyncToGenerator(function* () {
|
|
2808
2814
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2809
|
-
return
|
|
2815
|
+
return _this329.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2810
2816
|
file_id: request.file_id,
|
|
2811
2817
|
test: request.test,
|
|
2812
2818
|
model: request.model
|
|
@@ -2814,10 +2820,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2814
2820
|
})();
|
|
2815
2821
|
}
|
|
2816
2822
|
tag_ref(callback, request, options) {
|
|
2817
|
-
var
|
|
2823
|
+
var _this330 = this;
|
|
2818
2824
|
return _asyncToGenerator(function* () {
|
|
2819
2825
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2820
|
-
return
|
|
2826
|
+
return _this330.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2821
2827
|
commit_sha: request.commit_sha,
|
|
2822
2828
|
tag_name: request.tag_name,
|
|
2823
2829
|
tag_message: request.tag_message
|
|
@@ -2825,32 +2831,32 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2825
2831
|
})();
|
|
2826
2832
|
}
|
|
2827
2833
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2828
|
-
var
|
|
2834
|
+
var _this331 = this;
|
|
2829
2835
|
return _asyncToGenerator(function* () {
|
|
2830
2836
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2831
2837
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2832
|
-
return
|
|
2838
|
+
return _this331.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2833
2839
|
})();
|
|
2834
2840
|
}
|
|
2835
2841
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2836
|
-
var
|
|
2842
|
+
var _this332 = this;
|
|
2837
2843
|
return _asyncToGenerator(function* () {
|
|
2838
2844
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2839
2845
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2840
|
-
return
|
|
2846
|
+
return _this332.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2841
2847
|
})();
|
|
2842
2848
|
}
|
|
2843
2849
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2844
|
-
var
|
|
2850
|
+
var _this333 = this;
|
|
2845
2851
|
return _asyncToGenerator(function* () {
|
|
2846
2852
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2847
|
-
return
|
|
2853
|
+
return _this333.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2848
2854
|
})();
|
|
2849
2855
|
}
|
|
2850
2856
|
create_query_task(callback, request, options) {
|
|
2851
|
-
var
|
|
2857
|
+
var _this334 = this;
|
|
2852
2858
|
return _asyncToGenerator(function* () {
|
|
2853
|
-
return
|
|
2859
|
+
return _this334.authStream(callback, 'POST', '/query_tasks', {
|
|
2854
2860
|
limit: request.limit,
|
|
2855
2861
|
apply_formatting: request.apply_formatting,
|
|
2856
2862
|
apply_vis: request.apply_vis,
|
|
@@ -2866,61 +2872,61 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2866
2872
|
})();
|
|
2867
2873
|
}
|
|
2868
2874
|
query_task_multi_results(callback, query_task_ids, options) {
|
|
2869
|
-
var
|
|
2875
|
+
var _this335 = this;
|
|
2870
2876
|
return _asyncToGenerator(function* () {
|
|
2871
|
-
return
|
|
2877
|
+
return _this335.authStream(callback, 'GET', '/query_tasks/multi_results', {
|
|
2872
2878
|
query_task_ids
|
|
2873
2879
|
}, null, options);
|
|
2874
2880
|
})();
|
|
2875
2881
|
}
|
|
2876
2882
|
query_task(callback, query_task_id, fields, options) {
|
|
2877
|
-
var
|
|
2883
|
+
var _this336 = this;
|
|
2878
2884
|
return _asyncToGenerator(function* () {
|
|
2879
2885
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2880
|
-
return
|
|
2886
|
+
return _this336.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2881
2887
|
fields
|
|
2882
2888
|
}, null, options);
|
|
2883
2889
|
})();
|
|
2884
2890
|
}
|
|
2885
2891
|
query_task_results(callback, query_task_id, options) {
|
|
2886
|
-
var
|
|
2892
|
+
var _this337 = this;
|
|
2887
2893
|
return _asyncToGenerator(function* () {
|
|
2888
2894
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2889
|
-
return
|
|
2895
|
+
return _this337.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2890
2896
|
})();
|
|
2891
2897
|
}
|
|
2892
2898
|
query(callback, query_id, fields, options) {
|
|
2893
|
-
var
|
|
2899
|
+
var _this338 = this;
|
|
2894
2900
|
return _asyncToGenerator(function* () {
|
|
2895
2901
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2896
|
-
return
|
|
2902
|
+
return _this338.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2897
2903
|
fields
|
|
2898
2904
|
}, null, options);
|
|
2899
2905
|
})();
|
|
2900
2906
|
}
|
|
2901
2907
|
query_for_slug(callback, slug, fields, options) {
|
|
2902
|
-
var
|
|
2908
|
+
var _this339 = this;
|
|
2903
2909
|
return _asyncToGenerator(function* () {
|
|
2904
2910
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2905
|
-
return
|
|
2911
|
+
return _this339.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2906
2912
|
fields
|
|
2907
2913
|
}, null, options);
|
|
2908
2914
|
})();
|
|
2909
2915
|
}
|
|
2910
2916
|
create_query(callback, body, fields, options) {
|
|
2911
|
-
var
|
|
2917
|
+
var _this340 = this;
|
|
2912
2918
|
return _asyncToGenerator(function* () {
|
|
2913
|
-
return
|
|
2919
|
+
return _this340.authStream(callback, 'POST', '/queries', {
|
|
2914
2920
|
fields
|
|
2915
2921
|
}, body, options);
|
|
2916
2922
|
})();
|
|
2917
2923
|
}
|
|
2918
2924
|
run_query(callback, request, options) {
|
|
2919
|
-
var
|
|
2925
|
+
var _this341 = this;
|
|
2920
2926
|
return _asyncToGenerator(function* () {
|
|
2921
2927
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2922
2928
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2923
|
-
return
|
|
2929
|
+
return _this341.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2924
2930
|
limit: request.limit,
|
|
2925
2931
|
apply_formatting: request.apply_formatting,
|
|
2926
2932
|
apply_vis: request.apply_vis,
|
|
@@ -2939,10 +2945,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2939
2945
|
})();
|
|
2940
2946
|
}
|
|
2941
2947
|
run_inline_query(callback, request, options) {
|
|
2942
|
-
var
|
|
2948
|
+
var _this342 = this;
|
|
2943
2949
|
return _asyncToGenerator(function* () {
|
|
2944
2950
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2945
|
-
return
|
|
2951
|
+
return _this342.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2946
2952
|
limit: request.limit,
|
|
2947
2953
|
apply_formatting: request.apply_formatting,
|
|
2948
2954
|
apply_vis: request.apply_vis,
|
|
@@ -2960,73 +2966,73 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2960
2966
|
})();
|
|
2961
2967
|
}
|
|
2962
2968
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2963
|
-
var
|
|
2969
|
+
var _this343 = this;
|
|
2964
2970
|
return _asyncToGenerator(function* () {
|
|
2965
2971
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2966
2972
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2967
2973
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2968
|
-
return
|
|
2974
|
+
return _this343.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2969
2975
|
})();
|
|
2970
2976
|
}
|
|
2971
2977
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2972
|
-
var
|
|
2978
|
+
var _this344 = this;
|
|
2973
2979
|
return _asyncToGenerator(function* () {
|
|
2974
2980
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2975
|
-
return
|
|
2981
|
+
return _this344.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2976
2982
|
fields
|
|
2977
2983
|
}, null, options);
|
|
2978
2984
|
})();
|
|
2979
2985
|
}
|
|
2980
2986
|
create_merge_query(callback, body, fields, options) {
|
|
2981
|
-
var
|
|
2987
|
+
var _this345 = this;
|
|
2982
2988
|
return _asyncToGenerator(function* () {
|
|
2983
|
-
return
|
|
2989
|
+
return _this345.authStream(callback, 'POST', '/merge_queries', {
|
|
2984
2990
|
fields
|
|
2985
2991
|
}, body, options);
|
|
2986
2992
|
})();
|
|
2987
2993
|
}
|
|
2988
2994
|
all_running_queries(callback, options) {
|
|
2989
|
-
var
|
|
2995
|
+
var _this346 = this;
|
|
2990
2996
|
return _asyncToGenerator(function* () {
|
|
2991
|
-
return
|
|
2997
|
+
return _this346.authStream(callback, 'GET', '/running_queries', null, null, options);
|
|
2992
2998
|
})();
|
|
2993
2999
|
}
|
|
2994
3000
|
kill_query(callback, query_task_id, options) {
|
|
2995
|
-
var
|
|
3001
|
+
var _this347 = this;
|
|
2996
3002
|
return _asyncToGenerator(function* () {
|
|
2997
3003
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2998
|
-
return
|
|
3004
|
+
return _this347.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2999
3005
|
})();
|
|
3000
3006
|
}
|
|
3001
3007
|
create_sql_query(callback, body, options) {
|
|
3002
|
-
var
|
|
3008
|
+
var _this348 = this;
|
|
3003
3009
|
return _asyncToGenerator(function* () {
|
|
3004
|
-
return
|
|
3010
|
+
return _this348.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
3005
3011
|
})();
|
|
3006
3012
|
}
|
|
3007
3013
|
sql_query(callback, slug, options) {
|
|
3008
|
-
var
|
|
3014
|
+
var _this349 = this;
|
|
3009
3015
|
return _asyncToGenerator(function* () {
|
|
3010
3016
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3011
|
-
return
|
|
3017
|
+
return _this349.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
3012
3018
|
})();
|
|
3013
3019
|
}
|
|
3014
3020
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
3015
|
-
var
|
|
3021
|
+
var _this350 = this;
|
|
3016
3022
|
return _asyncToGenerator(function* () {
|
|
3017
3023
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3018
3024
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3019
|
-
return
|
|
3025
|
+
return _this350.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
3020
3026
|
download
|
|
3021
3027
|
}, null, options);
|
|
3022
3028
|
})();
|
|
3023
3029
|
}
|
|
3024
3030
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
3025
|
-
var
|
|
3031
|
+
var _this351 = this;
|
|
3026
3032
|
return _asyncToGenerator(function* () {
|
|
3027
3033
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
3028
3034
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3029
|
-
return
|
|
3035
|
+
return _this351.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
3030
3036
|
width,
|
|
3031
3037
|
height,
|
|
3032
3038
|
fields
|
|
@@ -3034,11 +3040,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3034
3040
|
})();
|
|
3035
3041
|
}
|
|
3036
3042
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
3037
|
-
var
|
|
3043
|
+
var _this352 = this;
|
|
3038
3044
|
return _asyncToGenerator(function* () {
|
|
3039
3045
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
3040
3046
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3041
|
-
return
|
|
3047
|
+
return _this352.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
3042
3048
|
width,
|
|
3043
3049
|
height,
|
|
3044
3050
|
fields
|
|
@@ -3046,11 +3052,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3046
3052
|
})();
|
|
3047
3053
|
}
|
|
3048
3054
|
create_dashboard_render_task(callback, request, options) {
|
|
3049
|
-
var
|
|
3055
|
+
var _this353 = this;
|
|
3050
3056
|
return _asyncToGenerator(function* () {
|
|
3051
3057
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3052
3058
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
3053
|
-
return
|
|
3059
|
+
return _this353.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
3054
3060
|
width: request.width,
|
|
3055
3061
|
height: request.height,
|
|
3056
3062
|
fields: request.fields,
|
|
@@ -3062,27 +3068,27 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3062
3068
|
})();
|
|
3063
3069
|
}
|
|
3064
3070
|
render_task(callback, render_task_id, fields, options) {
|
|
3065
|
-
var
|
|
3071
|
+
var _this354 = this;
|
|
3066
3072
|
return _asyncToGenerator(function* () {
|
|
3067
3073
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
3068
|
-
return
|
|
3074
|
+
return _this354.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
3069
3075
|
fields
|
|
3070
3076
|
}, null, options);
|
|
3071
3077
|
})();
|
|
3072
3078
|
}
|
|
3073
3079
|
render_task_results(callback, render_task_id, options) {
|
|
3074
|
-
var
|
|
3080
|
+
var _this355 = this;
|
|
3075
3081
|
return _asyncToGenerator(function* () {
|
|
3076
3082
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
3077
|
-
return
|
|
3083
|
+
return _this355.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
3078
3084
|
})();
|
|
3079
3085
|
}
|
|
3080
3086
|
create_dashboard_element_render_task(callback, dashboard_element_id, result_format, width, height, fields, options) {
|
|
3081
|
-
var
|
|
3087
|
+
var _this356 = this;
|
|
3082
3088
|
return _asyncToGenerator(function* () {
|
|
3083
3089
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
3084
3090
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3085
|
-
return
|
|
3091
|
+
return _this356.authStream(callback, 'POST', "/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
3086
3092
|
width,
|
|
3087
3093
|
height,
|
|
3088
3094
|
fields
|
|
@@ -3090,9 +3096,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3090
3096
|
})();
|
|
3091
3097
|
}
|
|
3092
3098
|
search_reports(callback, request, options) {
|
|
3093
|
-
var
|
|
3099
|
+
var _this357 = this;
|
|
3094
3100
|
return _asyncToGenerator(function* () {
|
|
3095
|
-
return
|
|
3101
|
+
return _this357.authStream(callback, 'GET', '/reports/search', {
|
|
3096
3102
|
folder_id: request.folder_id,
|
|
3097
3103
|
favorite: request.favorite,
|
|
3098
3104
|
recent: request.recent,
|
|
@@ -3106,9 +3112,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3106
3112
|
})();
|
|
3107
3113
|
}
|
|
3108
3114
|
search_model_sets(callback, request, options) {
|
|
3109
|
-
var
|
|
3115
|
+
var _this358 = this;
|
|
3110
3116
|
return _asyncToGenerator(function* () {
|
|
3111
|
-
return
|
|
3117
|
+
return _this358.authStream(callback, 'GET', '/model_sets/search', {
|
|
3112
3118
|
fields: request.fields,
|
|
3113
3119
|
limit: request.limit,
|
|
3114
3120
|
offset: request.offset,
|
|
@@ -3123,52 +3129,52 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3123
3129
|
})();
|
|
3124
3130
|
}
|
|
3125
3131
|
model_set(callback, model_set_id, fields, options) {
|
|
3126
|
-
var
|
|
3132
|
+
var _this359 = this;
|
|
3127
3133
|
return _asyncToGenerator(function* () {
|
|
3128
3134
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3129
|
-
return
|
|
3135
|
+
return _this359.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
3130
3136
|
fields
|
|
3131
3137
|
}, null, options);
|
|
3132
3138
|
})();
|
|
3133
3139
|
}
|
|
3134
3140
|
update_model_set(callback, model_set_id, body, options) {
|
|
3135
|
-
var
|
|
3141
|
+
var _this360 = this;
|
|
3136
3142
|
return _asyncToGenerator(function* () {
|
|
3137
3143
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3138
|
-
return
|
|
3144
|
+
return _this360.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
3139
3145
|
})();
|
|
3140
3146
|
}
|
|
3141
3147
|
delete_model_set(callback, model_set_id, options) {
|
|
3142
|
-
var
|
|
3148
|
+
var _this361 = this;
|
|
3143
3149
|
return _asyncToGenerator(function* () {
|
|
3144
3150
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3145
|
-
return
|
|
3151
|
+
return _this361.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
3146
3152
|
})();
|
|
3147
3153
|
}
|
|
3148
3154
|
all_model_sets(callback, fields, options) {
|
|
3149
|
-
var
|
|
3155
|
+
var _this362 = this;
|
|
3150
3156
|
return _asyncToGenerator(function* () {
|
|
3151
|
-
return
|
|
3157
|
+
return _this362.authStream(callback, 'GET', '/model_sets', {
|
|
3152
3158
|
fields
|
|
3153
3159
|
}, null, options);
|
|
3154
3160
|
})();
|
|
3155
3161
|
}
|
|
3156
3162
|
create_model_set(callback, body, options) {
|
|
3157
|
-
var
|
|
3163
|
+
var _this363 = this;
|
|
3158
3164
|
return _asyncToGenerator(function* () {
|
|
3159
|
-
return
|
|
3165
|
+
return _this363.authStream(callback, 'POST', '/model_sets', null, body, options);
|
|
3160
3166
|
})();
|
|
3161
3167
|
}
|
|
3162
3168
|
all_permissions(callback, options) {
|
|
3163
|
-
var
|
|
3169
|
+
var _this364 = this;
|
|
3164
3170
|
return _asyncToGenerator(function* () {
|
|
3165
|
-
return
|
|
3171
|
+
return _this364.authStream(callback, 'GET', '/permissions', null, null, options);
|
|
3166
3172
|
})();
|
|
3167
3173
|
}
|
|
3168
3174
|
search_permission_sets(callback, request, options) {
|
|
3169
|
-
var
|
|
3175
|
+
var _this365 = this;
|
|
3170
3176
|
return _asyncToGenerator(function* () {
|
|
3171
|
-
return
|
|
3177
|
+
return _this365.authStream(callback, 'GET', '/permission_sets/search', {
|
|
3172
3178
|
fields: request.fields,
|
|
3173
3179
|
limit: request.limit,
|
|
3174
3180
|
offset: request.offset,
|
|
@@ -3183,46 +3189,46 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3183
3189
|
})();
|
|
3184
3190
|
}
|
|
3185
3191
|
permission_set(callback, permission_set_id, fields, options) {
|
|
3186
|
-
var
|
|
3192
|
+
var _this366 = this;
|
|
3187
3193
|
return _asyncToGenerator(function* () {
|
|
3188
3194
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3189
|
-
return
|
|
3195
|
+
return _this366.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
3190
3196
|
fields
|
|
3191
3197
|
}, null, options);
|
|
3192
3198
|
})();
|
|
3193
3199
|
}
|
|
3194
3200
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
3195
|
-
var
|
|
3201
|
+
var _this367 = this;
|
|
3196
3202
|
return _asyncToGenerator(function* () {
|
|
3197
3203
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3198
|
-
return
|
|
3204
|
+
return _this367.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
3199
3205
|
})();
|
|
3200
3206
|
}
|
|
3201
3207
|
delete_permission_set(callback, permission_set_id, options) {
|
|
3202
|
-
var
|
|
3208
|
+
var _this368 = this;
|
|
3203
3209
|
return _asyncToGenerator(function* () {
|
|
3204
3210
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3205
|
-
return
|
|
3211
|
+
return _this368.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
3206
3212
|
})();
|
|
3207
3213
|
}
|
|
3208
3214
|
all_permission_sets(callback, fields, options) {
|
|
3209
|
-
var
|
|
3215
|
+
var _this369 = this;
|
|
3210
3216
|
return _asyncToGenerator(function* () {
|
|
3211
|
-
return
|
|
3217
|
+
return _this369.authStream(callback, 'GET', '/permission_sets', {
|
|
3212
3218
|
fields
|
|
3213
3219
|
}, null, options);
|
|
3214
3220
|
})();
|
|
3215
3221
|
}
|
|
3216
3222
|
create_permission_set(callback, body, options) {
|
|
3217
|
-
var
|
|
3223
|
+
var _this370 = this;
|
|
3218
3224
|
return _asyncToGenerator(function* () {
|
|
3219
|
-
return
|
|
3225
|
+
return _this370.authStream(callback, 'POST', '/permission_sets', null, body, options);
|
|
3220
3226
|
})();
|
|
3221
3227
|
}
|
|
3222
3228
|
all_roles(callback, request, options) {
|
|
3223
|
-
var
|
|
3229
|
+
var _this371 = this;
|
|
3224
3230
|
return _asyncToGenerator(function* () {
|
|
3225
|
-
return
|
|
3231
|
+
return _this371.authStream(callback, 'GET', '/roles', {
|
|
3226
3232
|
fields: request.fields,
|
|
3227
3233
|
ids: request.ids,
|
|
3228
3234
|
get_all_support_roles: request.get_all_support_roles
|
|
@@ -3230,15 +3236,15 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3230
3236
|
})();
|
|
3231
3237
|
}
|
|
3232
3238
|
create_role(callback, body, options) {
|
|
3233
|
-
var
|
|
3239
|
+
var _this372 = this;
|
|
3234
3240
|
return _asyncToGenerator(function* () {
|
|
3235
|
-
return
|
|
3241
|
+
return _this372.authStream(callback, 'POST', '/roles', null, body, options);
|
|
3236
3242
|
})();
|
|
3237
3243
|
}
|
|
3238
3244
|
search_roles(callback, request, options) {
|
|
3239
|
-
var
|
|
3245
|
+
var _this373 = this;
|
|
3240
3246
|
return _asyncToGenerator(function* () {
|
|
3241
|
-
return
|
|
3247
|
+
return _this373.authStream(callback, 'GET', '/roles/search', {
|
|
3242
3248
|
fields: request.fields,
|
|
3243
3249
|
limit: request.limit,
|
|
3244
3250
|
offset: request.offset,
|
|
@@ -3253,9 +3259,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3253
3259
|
})();
|
|
3254
3260
|
}
|
|
3255
3261
|
search_roles_with_user_count(callback, request, options) {
|
|
3256
|
-
var
|
|
3262
|
+
var _this374 = this;
|
|
3257
3263
|
return _asyncToGenerator(function* () {
|
|
3258
|
-
return
|
|
3264
|
+
return _this374.authStream(callback, 'GET', '/roles/search/with_user_count', {
|
|
3259
3265
|
fields: request.fields,
|
|
3260
3266
|
limit: request.limit,
|
|
3261
3267
|
offset: request.offset,
|
|
@@ -3268,95 +3274,95 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3268
3274
|
})();
|
|
3269
3275
|
}
|
|
3270
3276
|
role(callback, role_id, options) {
|
|
3271
|
-
var
|
|
3277
|
+
var _this375 = this;
|
|
3272
3278
|
return _asyncToGenerator(function* () {
|
|
3273
3279
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3274
|
-
return
|
|
3280
|
+
return _this375.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
3275
3281
|
})();
|
|
3276
3282
|
}
|
|
3277
3283
|
update_role(callback, role_id, body, options) {
|
|
3278
|
-
var
|
|
3284
|
+
var _this376 = this;
|
|
3279
3285
|
return _asyncToGenerator(function* () {
|
|
3280
3286
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3281
|
-
return
|
|
3287
|
+
return _this376.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
3282
3288
|
})();
|
|
3283
3289
|
}
|
|
3284
3290
|
delete_role(callback, role_id, options) {
|
|
3285
|
-
var
|
|
3291
|
+
var _this377 = this;
|
|
3286
3292
|
return _asyncToGenerator(function* () {
|
|
3287
3293
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3288
|
-
return
|
|
3294
|
+
return _this377.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
3289
3295
|
})();
|
|
3290
3296
|
}
|
|
3291
3297
|
role_groups(callback, role_id, fields, options) {
|
|
3292
|
-
var
|
|
3298
|
+
var _this378 = this;
|
|
3293
3299
|
return _asyncToGenerator(function* () {
|
|
3294
3300
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3295
|
-
return
|
|
3301
|
+
return _this378.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
3296
3302
|
fields
|
|
3297
3303
|
}, null, options);
|
|
3298
3304
|
})();
|
|
3299
3305
|
}
|
|
3300
3306
|
set_role_groups(callback, role_id, body, options) {
|
|
3301
|
-
var
|
|
3307
|
+
var _this379 = this;
|
|
3302
3308
|
return _asyncToGenerator(function* () {
|
|
3303
3309
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3304
|
-
return
|
|
3310
|
+
return _this379.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3305
3311
|
})();
|
|
3306
3312
|
}
|
|
3307
3313
|
role_users(callback, request, options) {
|
|
3308
|
-
var
|
|
3314
|
+
var _this380 = this;
|
|
3309
3315
|
return _asyncToGenerator(function* () {
|
|
3310
3316
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3311
|
-
return
|
|
3317
|
+
return _this380.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
3312
3318
|
fields: request.fields,
|
|
3313
3319
|
direct_association_only: request.direct_association_only
|
|
3314
3320
|
}, null, options);
|
|
3315
3321
|
})();
|
|
3316
3322
|
}
|
|
3317
3323
|
set_role_users(callback, role_id, body, options) {
|
|
3318
|
-
var
|
|
3324
|
+
var _this381 = this;
|
|
3319
3325
|
return _asyncToGenerator(function* () {
|
|
3320
3326
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3321
|
-
return
|
|
3327
|
+
return _this381.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
3322
3328
|
})();
|
|
3323
3329
|
}
|
|
3324
3330
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
3325
|
-
var
|
|
3331
|
+
var _this382 = this;
|
|
3326
3332
|
return _asyncToGenerator(function* () {
|
|
3327
3333
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3328
|
-
return
|
|
3334
|
+
return _this382.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
3329
3335
|
fields
|
|
3330
3336
|
}, null, options);
|
|
3331
3337
|
})();
|
|
3332
3338
|
}
|
|
3333
3339
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
3334
|
-
var
|
|
3340
|
+
var _this383 = this;
|
|
3335
3341
|
return _asyncToGenerator(function* () {
|
|
3336
3342
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3337
|
-
return
|
|
3343
|
+
return _this383.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3338
3344
|
fields
|
|
3339
3345
|
}, null, options);
|
|
3340
3346
|
})();
|
|
3341
3347
|
}
|
|
3342
3348
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
3343
|
-
var
|
|
3349
|
+
var _this384 = this;
|
|
3344
3350
|
return _asyncToGenerator(function* () {
|
|
3345
3351
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3346
|
-
return
|
|
3352
|
+
return _this384.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3347
3353
|
})();
|
|
3348
3354
|
}
|
|
3349
3355
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
3350
|
-
var
|
|
3356
|
+
var _this385 = this;
|
|
3351
3357
|
return _asyncToGenerator(function* () {
|
|
3352
3358
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3353
|
-
return
|
|
3359
|
+
return _this385.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3354
3360
|
})();
|
|
3355
3361
|
}
|
|
3356
3362
|
all_scheduled_plans(callback, request, options) {
|
|
3357
|
-
var
|
|
3363
|
+
var _this386 = this;
|
|
3358
3364
|
return _asyncToGenerator(function* () {
|
|
3359
|
-
return
|
|
3365
|
+
return _this386.authStream(callback, 'GET', '/scheduled_plans', {
|
|
3360
3366
|
user_id: request.user_id,
|
|
3361
3367
|
fields: request.fields,
|
|
3362
3368
|
all_users: request.all_users
|
|
@@ -3364,21 +3370,21 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3364
3370
|
})();
|
|
3365
3371
|
}
|
|
3366
3372
|
create_scheduled_plan(callback, body, options) {
|
|
3367
|
-
var
|
|
3373
|
+
var _this387 = this;
|
|
3368
3374
|
return _asyncToGenerator(function* () {
|
|
3369
|
-
return
|
|
3375
|
+
return _this387.authStream(callback, 'POST', '/scheduled_plans', null, body, options);
|
|
3370
3376
|
})();
|
|
3371
3377
|
}
|
|
3372
3378
|
scheduled_plan_run_once(callback, body, options) {
|
|
3373
|
-
var
|
|
3379
|
+
var _this388 = this;
|
|
3374
3380
|
return _asyncToGenerator(function* () {
|
|
3375
|
-
return
|
|
3381
|
+
return _this388.authStream(callback, 'POST', '/scheduled_plans/run_once', null, body, options);
|
|
3376
3382
|
})();
|
|
3377
3383
|
}
|
|
3378
3384
|
search_scheduled_plans(callback, request, options) {
|
|
3379
|
-
var
|
|
3385
|
+
var _this389 = this;
|
|
3380
3386
|
return _asyncToGenerator(function* () {
|
|
3381
|
-
return
|
|
3387
|
+
return _this389.authStream(callback, 'GET', '/scheduled_plans/search', {
|
|
3382
3388
|
user_id: request.user_id,
|
|
3383
3389
|
fields: request.fields,
|
|
3384
3390
|
all_users: request.all_users,
|
|
@@ -3399,10 +3405,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3399
3405
|
})();
|
|
3400
3406
|
}
|
|
3401
3407
|
scheduled_plans_for_look(callback, request, options) {
|
|
3402
|
-
var
|
|
3408
|
+
var _this390 = this;
|
|
3403
3409
|
return _asyncToGenerator(function* () {
|
|
3404
3410
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3405
|
-
return
|
|
3411
|
+
return _this390.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
3406
3412
|
user_id: request.user_id,
|
|
3407
3413
|
fields: request.fields,
|
|
3408
3414
|
all_users: request.all_users
|
|
@@ -3410,10 +3416,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3410
3416
|
})();
|
|
3411
3417
|
}
|
|
3412
3418
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
3413
|
-
var
|
|
3419
|
+
var _this391 = this;
|
|
3414
3420
|
return _asyncToGenerator(function* () {
|
|
3415
3421
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3416
|
-
return
|
|
3422
|
+
return _this391.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3417
3423
|
user_id: request.user_id,
|
|
3418
3424
|
all_users: request.all_users,
|
|
3419
3425
|
fields: request.fields
|
|
@@ -3421,10 +3427,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3421
3427
|
})();
|
|
3422
3428
|
}
|
|
3423
3429
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
3424
|
-
var
|
|
3430
|
+
var _this392 = this;
|
|
3425
3431
|
return _asyncToGenerator(function* () {
|
|
3426
3432
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3427
|
-
return
|
|
3433
|
+
return _this392.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3428
3434
|
user_id: request.user_id,
|
|
3429
3435
|
fields: request.fields,
|
|
3430
3436
|
all_users: request.all_users
|
|
@@ -3432,70 +3438,70 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3432
3438
|
})();
|
|
3433
3439
|
}
|
|
3434
3440
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
3435
|
-
var
|
|
3441
|
+
var _this393 = this;
|
|
3436
3442
|
return _asyncToGenerator(function* () {
|
|
3437
3443
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3438
|
-
return
|
|
3444
|
+
return _this393.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3439
3445
|
})();
|
|
3440
3446
|
}
|
|
3441
3447
|
update_self_service_explore_certification(callback, model_name, body, options) {
|
|
3442
|
-
var
|
|
3448
|
+
var _this394 = this;
|
|
3443
3449
|
return _asyncToGenerator(function* () {
|
|
3444
3450
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
3445
|
-
return
|
|
3451
|
+
return _this394.authStream(callback, 'PATCH', "/self_service_models/".concat(model_name, "/certification"), null, body, options);
|
|
3446
3452
|
})();
|
|
3447
3453
|
}
|
|
3448
3454
|
session(callback, options) {
|
|
3449
|
-
var
|
|
3455
|
+
var _this395 = this;
|
|
3450
3456
|
return _asyncToGenerator(function* () {
|
|
3451
|
-
return
|
|
3457
|
+
return _this395.authStream(callback, 'GET', '/session', null, null, options);
|
|
3452
3458
|
})();
|
|
3453
3459
|
}
|
|
3454
3460
|
update_session(callback, body, options) {
|
|
3455
|
-
var
|
|
3461
|
+
var _this396 = this;
|
|
3456
3462
|
return _asyncToGenerator(function* () {
|
|
3457
|
-
return
|
|
3463
|
+
return _this396.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
3458
3464
|
})();
|
|
3459
3465
|
}
|
|
3460
3466
|
sql_interface_metadata(callback, avatica_request, options) {
|
|
3461
|
-
var
|
|
3467
|
+
var _this397 = this;
|
|
3462
3468
|
return _asyncToGenerator(function* () {
|
|
3463
|
-
return
|
|
3469
|
+
return _this397.authStream(callback, 'GET', '/sql_interface_queries/metadata', {
|
|
3464
3470
|
avatica_request
|
|
3465
3471
|
}, null, options);
|
|
3466
3472
|
})();
|
|
3467
3473
|
}
|
|
3468
3474
|
run_sql_interface_query(callback, query_id, result_format, options) {
|
|
3469
|
-
var
|
|
3475
|
+
var _this398 = this;
|
|
3470
3476
|
return _asyncToGenerator(function* () {
|
|
3471
3477
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3472
|
-
return
|
|
3478
|
+
return _this398.authStream(callback, 'GET', "/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3473
3479
|
})();
|
|
3474
3480
|
}
|
|
3475
3481
|
create_sql_interface_query(callback, body, options) {
|
|
3476
|
-
var
|
|
3482
|
+
var _this399 = this;
|
|
3477
3483
|
return _asyncToGenerator(function* () {
|
|
3478
|
-
return
|
|
3484
|
+
return _this399.authStream(callback, 'POST', '/sql_interface_queries', null, body, options);
|
|
3479
3485
|
})();
|
|
3480
3486
|
}
|
|
3481
3487
|
all_themes(callback, fields, options) {
|
|
3482
|
-
var
|
|
3488
|
+
var _this400 = this;
|
|
3483
3489
|
return _asyncToGenerator(function* () {
|
|
3484
|
-
return
|
|
3490
|
+
return _this400.authStream(callback, 'GET', '/themes', {
|
|
3485
3491
|
fields
|
|
3486
3492
|
}, null, options);
|
|
3487
3493
|
})();
|
|
3488
3494
|
}
|
|
3489
3495
|
create_theme(callback, body, options) {
|
|
3490
|
-
var
|
|
3496
|
+
var _this401 = this;
|
|
3491
3497
|
return _asyncToGenerator(function* () {
|
|
3492
|
-
return
|
|
3498
|
+
return _this401.authStream(callback, 'POST', '/themes', null, body, options);
|
|
3493
3499
|
})();
|
|
3494
3500
|
}
|
|
3495
3501
|
search_themes(callback, request, options) {
|
|
3496
|
-
var
|
|
3502
|
+
var _this402 = this;
|
|
3497
3503
|
return _asyncToGenerator(function* () {
|
|
3498
|
-
return
|
|
3504
|
+
return _this402.authStream(callback, 'GET', '/themes/search', {
|
|
3499
3505
|
id: request.id,
|
|
3500
3506
|
name: request.name,
|
|
3501
3507
|
begin_at: request.begin_at,
|
|
@@ -3509,25 +3515,25 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3509
3515
|
})();
|
|
3510
3516
|
}
|
|
3511
3517
|
default_theme(callback, ts, options) {
|
|
3512
|
-
var
|
|
3518
|
+
var _this403 = this;
|
|
3513
3519
|
return _asyncToGenerator(function* () {
|
|
3514
|
-
return
|
|
3520
|
+
return _this403.authStream(callback, 'GET', '/themes/default', {
|
|
3515
3521
|
ts
|
|
3516
3522
|
}, null, options);
|
|
3517
3523
|
})();
|
|
3518
3524
|
}
|
|
3519
3525
|
set_default_theme(callback, name, options) {
|
|
3520
|
-
var
|
|
3526
|
+
var _this404 = this;
|
|
3521
3527
|
return _asyncToGenerator(function* () {
|
|
3522
|
-
return
|
|
3528
|
+
return _this404.authStream(callback, 'PUT', '/themes/default', {
|
|
3523
3529
|
name
|
|
3524
3530
|
}, null, options);
|
|
3525
3531
|
})();
|
|
3526
3532
|
}
|
|
3527
3533
|
active_themes(callback, request, options) {
|
|
3528
|
-
var
|
|
3534
|
+
var _this405 = this;
|
|
3529
3535
|
return _asyncToGenerator(function* () {
|
|
3530
|
-
return
|
|
3536
|
+
return _this405.authStream(callback, 'GET', '/themes/active', {
|
|
3531
3537
|
name: request.name,
|
|
3532
3538
|
ts: request.ts,
|
|
3533
3539
|
fields: request.fields
|
|
@@ -3535,47 +3541,47 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3535
3541
|
})();
|
|
3536
3542
|
}
|
|
3537
3543
|
theme_or_default(callback, name, ts, options) {
|
|
3538
|
-
var
|
|
3544
|
+
var _this406 = this;
|
|
3539
3545
|
return _asyncToGenerator(function* () {
|
|
3540
|
-
return
|
|
3546
|
+
return _this406.authStream(callback, 'GET', '/themes/theme_or_default', {
|
|
3541
3547
|
name,
|
|
3542
3548
|
ts
|
|
3543
3549
|
}, null, options);
|
|
3544
3550
|
})();
|
|
3545
3551
|
}
|
|
3546
3552
|
validate_theme(callback, body, options) {
|
|
3547
|
-
var
|
|
3553
|
+
var _this407 = this;
|
|
3548
3554
|
return _asyncToGenerator(function* () {
|
|
3549
|
-
return
|
|
3555
|
+
return _this407.authStream(callback, 'POST', '/themes/validate', null, body, options);
|
|
3550
3556
|
})();
|
|
3551
3557
|
}
|
|
3552
3558
|
theme(callback, theme_id, fields, options) {
|
|
3553
|
-
var
|
|
3559
|
+
var _this408 = this;
|
|
3554
3560
|
return _asyncToGenerator(function* () {
|
|
3555
3561
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3556
|
-
return
|
|
3562
|
+
return _this408.authStream(callback, 'GET', "/themes/".concat(theme_id), {
|
|
3557
3563
|
fields
|
|
3558
3564
|
}, null, options);
|
|
3559
3565
|
})();
|
|
3560
3566
|
}
|
|
3561
3567
|
update_theme(callback, theme_id, body, options) {
|
|
3562
|
-
var
|
|
3568
|
+
var _this409 = this;
|
|
3563
3569
|
return _asyncToGenerator(function* () {
|
|
3564
3570
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3565
|
-
return
|
|
3571
|
+
return _this409.authStream(callback, 'PATCH', "/themes/".concat(theme_id), null, body, options);
|
|
3566
3572
|
})();
|
|
3567
3573
|
}
|
|
3568
3574
|
delete_theme(callback, theme_id, options) {
|
|
3569
|
-
var
|
|
3575
|
+
var _this410 = this;
|
|
3570
3576
|
return _asyncToGenerator(function* () {
|
|
3571
3577
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3572
|
-
return
|
|
3578
|
+
return _this410.authStream(callback, 'DELETE', "/themes/".concat(theme_id), null, null, options);
|
|
3573
3579
|
})();
|
|
3574
3580
|
}
|
|
3575
3581
|
search_credentials_email(callback, request, options) {
|
|
3576
|
-
var
|
|
3582
|
+
var _this411 = this;
|
|
3577
3583
|
return _asyncToGenerator(function* () {
|
|
3578
|
-
return
|
|
3584
|
+
return _this411.authStream(callback, 'GET', '/credentials_email/search', {
|
|
3579
3585
|
fields: request.fields,
|
|
3580
3586
|
limit: request.limit,
|
|
3581
3587
|
offset: request.offset,
|
|
@@ -3588,17 +3594,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3588
3594
|
})();
|
|
3589
3595
|
}
|
|
3590
3596
|
me(callback, fields, options) {
|
|
3591
|
-
var
|
|
3597
|
+
var _this412 = this;
|
|
3592
3598
|
return _asyncToGenerator(function* () {
|
|
3593
|
-
return
|
|
3599
|
+
return _this412.authStream(callback, 'GET', '/user', {
|
|
3594
3600
|
fields
|
|
3595
3601
|
}, null, options);
|
|
3596
3602
|
})();
|
|
3597
3603
|
}
|
|
3598
3604
|
all_users(callback, request, options) {
|
|
3599
|
-
var
|
|
3605
|
+
var _this413 = this;
|
|
3600
3606
|
return _asyncToGenerator(function* () {
|
|
3601
|
-
return
|
|
3607
|
+
return _this413.authStream(callback, 'GET', '/users', {
|
|
3602
3608
|
fields: request.fields,
|
|
3603
3609
|
page: request.page,
|
|
3604
3610
|
per_page: request.per_page,
|
|
@@ -3610,17 +3616,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3610
3616
|
})();
|
|
3611
3617
|
}
|
|
3612
3618
|
create_user(callback, body, fields, options) {
|
|
3613
|
-
var
|
|
3619
|
+
var _this414 = this;
|
|
3614
3620
|
return _asyncToGenerator(function* () {
|
|
3615
|
-
return
|
|
3621
|
+
return _this414.authStream(callback, 'POST', '/users', {
|
|
3616
3622
|
fields
|
|
3617
3623
|
}, body, options);
|
|
3618
3624
|
})();
|
|
3619
3625
|
}
|
|
3620
3626
|
search_users(callback, request, options) {
|
|
3621
|
-
var
|
|
3627
|
+
var _this415 = this;
|
|
3622
3628
|
return _asyncToGenerator(function* () {
|
|
3623
|
-
return
|
|
3629
|
+
return _this415.authStream(callback, 'GET', '/users/search', {
|
|
3624
3630
|
fields: request.fields,
|
|
3625
3631
|
page: request.page,
|
|
3626
3632
|
per_page: request.per_page,
|
|
@@ -3644,10 +3650,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3644
3650
|
})();
|
|
3645
3651
|
}
|
|
3646
3652
|
search_users_names(callback, request, options) {
|
|
3647
|
-
var
|
|
3653
|
+
var _this416 = this;
|
|
3648
3654
|
return _asyncToGenerator(function* () {
|
|
3649
3655
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3650
|
-
return
|
|
3656
|
+
return _this416.authStream(callback, 'GET', "/users/search/names/".concat(request.pattern), {
|
|
3651
3657
|
fields: request.fields,
|
|
3652
3658
|
page: request.page,
|
|
3653
3659
|
per_page: request.per_page,
|
|
@@ -3664,329 +3670,329 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3664
3670
|
})();
|
|
3665
3671
|
}
|
|
3666
3672
|
user(callback, user_id, fields, options) {
|
|
3667
|
-
var
|
|
3673
|
+
var _this417 = this;
|
|
3668
3674
|
return _asyncToGenerator(function* () {
|
|
3669
3675
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3670
|
-
return
|
|
3676
|
+
return _this417.authStream(callback, 'GET', "/users/".concat(user_id), {
|
|
3671
3677
|
fields
|
|
3672
3678
|
}, null, options);
|
|
3673
3679
|
})();
|
|
3674
3680
|
}
|
|
3675
3681
|
update_user(callback, user_id, body, fields, options) {
|
|
3676
|
-
var
|
|
3682
|
+
var _this418 = this;
|
|
3677
3683
|
return _asyncToGenerator(function* () {
|
|
3678
3684
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3679
|
-
return
|
|
3685
|
+
return _this418.authStream(callback, 'PATCH', "/users/".concat(user_id), {
|
|
3680
3686
|
fields
|
|
3681
3687
|
}, body, options);
|
|
3682
3688
|
})();
|
|
3683
3689
|
}
|
|
3684
3690
|
delete_user(callback, user_id, options) {
|
|
3685
|
-
var
|
|
3691
|
+
var _this419 = this;
|
|
3686
3692
|
return _asyncToGenerator(function* () {
|
|
3687
3693
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3688
|
-
return
|
|
3694
|
+
return _this419.authStream(callback, 'DELETE', "/users/".concat(user_id), null, null, options);
|
|
3689
3695
|
})();
|
|
3690
3696
|
}
|
|
3691
3697
|
user_for_credential(callback, credential_type, credential_id, fields, options) {
|
|
3692
|
-
var
|
|
3698
|
+
var _this420 = this;
|
|
3693
3699
|
return _asyncToGenerator(function* () {
|
|
3694
3700
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3695
3701
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3696
|
-
return
|
|
3702
|
+
return _this420.authStream(callback, 'GET', "/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3697
3703
|
fields
|
|
3698
3704
|
}, null, options);
|
|
3699
3705
|
})();
|
|
3700
3706
|
}
|
|
3701
3707
|
update_service_account(callback, user_id, body, fields, options) {
|
|
3702
|
-
var
|
|
3708
|
+
var _this421 = this;
|
|
3703
3709
|
return _asyncToGenerator(function* () {
|
|
3704
3710
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3705
|
-
return
|
|
3711
|
+
return _this421.authStream(callback, 'PATCH', "/users/service_accounts/".concat(user_id), {
|
|
3706
3712
|
fields
|
|
3707
3713
|
}, body, options);
|
|
3708
3714
|
})();
|
|
3709
3715
|
}
|
|
3710
3716
|
delete_service_account(callback, user_id, options) {
|
|
3711
|
-
var
|
|
3717
|
+
var _this422 = this;
|
|
3712
3718
|
return _asyncToGenerator(function* () {
|
|
3713
3719
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3714
|
-
return
|
|
3720
|
+
return _this422.authStream(callback, 'DELETE', "/users/service_accounts/".concat(user_id), null, null, options);
|
|
3715
3721
|
})();
|
|
3716
3722
|
}
|
|
3717
3723
|
user_credentials_email(callback, user_id, fields, options) {
|
|
3718
|
-
var
|
|
3724
|
+
var _this423 = this;
|
|
3719
3725
|
return _asyncToGenerator(function* () {
|
|
3720
3726
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3721
|
-
return
|
|
3727
|
+
return _this423.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_email"), {
|
|
3722
3728
|
fields
|
|
3723
3729
|
}, null, options);
|
|
3724
3730
|
})();
|
|
3725
3731
|
}
|
|
3726
3732
|
create_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3727
|
-
var
|
|
3733
|
+
var _this424 = this;
|
|
3728
3734
|
return _asyncToGenerator(function* () {
|
|
3729
3735
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3730
|
-
return
|
|
3736
|
+
return _this424.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email"), {
|
|
3731
3737
|
fields
|
|
3732
3738
|
}, body, options);
|
|
3733
3739
|
})();
|
|
3734
3740
|
}
|
|
3735
3741
|
update_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3736
|
-
var
|
|
3742
|
+
var _this425 = this;
|
|
3737
3743
|
return _asyncToGenerator(function* () {
|
|
3738
3744
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3739
|
-
return
|
|
3745
|
+
return _this425.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_email"), {
|
|
3740
3746
|
fields
|
|
3741
3747
|
}, body, options);
|
|
3742
3748
|
})();
|
|
3743
3749
|
}
|
|
3744
3750
|
delete_user_credentials_email(callback, user_id, options) {
|
|
3745
|
-
var
|
|
3751
|
+
var _this426 = this;
|
|
3746
3752
|
return _asyncToGenerator(function* () {
|
|
3747
3753
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3748
|
-
return
|
|
3754
|
+
return _this426.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3749
3755
|
})();
|
|
3750
3756
|
}
|
|
3751
3757
|
user_credentials_totp(callback, user_id, fields, options) {
|
|
3752
|
-
var
|
|
3758
|
+
var _this427 = this;
|
|
3753
3759
|
return _asyncToGenerator(function* () {
|
|
3754
3760
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3755
|
-
return
|
|
3761
|
+
return _this427.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3756
3762
|
fields
|
|
3757
3763
|
}, null, options);
|
|
3758
3764
|
})();
|
|
3759
3765
|
}
|
|
3760
3766
|
create_user_credentials_totp(callback, user_id, body, fields, options) {
|
|
3761
|
-
var
|
|
3767
|
+
var _this428 = this;
|
|
3762
3768
|
return _asyncToGenerator(function* () {
|
|
3763
3769
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3764
|
-
return
|
|
3770
|
+
return _this428.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3765
3771
|
fields
|
|
3766
3772
|
}, body, options);
|
|
3767
3773
|
})();
|
|
3768
3774
|
}
|
|
3769
3775
|
delete_user_credentials_totp(callback, user_id, options) {
|
|
3770
|
-
var
|
|
3776
|
+
var _this429 = this;
|
|
3771
3777
|
return _asyncToGenerator(function* () {
|
|
3772
3778
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3773
|
-
return
|
|
3779
|
+
return _this429.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3774
3780
|
})();
|
|
3775
3781
|
}
|
|
3776
3782
|
user_credentials_ldap(callback, user_id, fields, options) {
|
|
3777
|
-
var
|
|
3783
|
+
var _this430 = this;
|
|
3778
3784
|
return _asyncToGenerator(function* () {
|
|
3779
3785
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3780
|
-
return
|
|
3786
|
+
return _this430.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_ldap"), {
|
|
3781
3787
|
fields
|
|
3782
3788
|
}, null, options);
|
|
3783
3789
|
})();
|
|
3784
3790
|
}
|
|
3785
3791
|
delete_user_credentials_ldap(callback, user_id, options) {
|
|
3786
|
-
var
|
|
3792
|
+
var _this431 = this;
|
|
3787
3793
|
return _asyncToGenerator(function* () {
|
|
3788
3794
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3789
|
-
return
|
|
3795
|
+
return _this431.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3790
3796
|
})();
|
|
3791
3797
|
}
|
|
3792
3798
|
user_credentials_google(callback, user_id, fields, options) {
|
|
3793
|
-
var
|
|
3799
|
+
var _this432 = this;
|
|
3794
3800
|
return _asyncToGenerator(function* () {
|
|
3795
3801
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3796
|
-
return
|
|
3802
|
+
return _this432.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_google"), {
|
|
3797
3803
|
fields
|
|
3798
3804
|
}, null, options);
|
|
3799
3805
|
})();
|
|
3800
3806
|
}
|
|
3801
3807
|
delete_user_credentials_google(callback, user_id, options) {
|
|
3802
|
-
var
|
|
3808
|
+
var _this433 = this;
|
|
3803
3809
|
return _asyncToGenerator(function* () {
|
|
3804
3810
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3805
|
-
return
|
|
3811
|
+
return _this433.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3806
3812
|
})();
|
|
3807
3813
|
}
|
|
3808
3814
|
user_credentials_saml(callback, user_id, fields, options) {
|
|
3809
|
-
var
|
|
3815
|
+
var _this434 = this;
|
|
3810
3816
|
return _asyncToGenerator(function* () {
|
|
3811
3817
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3812
|
-
return
|
|
3818
|
+
return _this434.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_saml"), {
|
|
3813
3819
|
fields
|
|
3814
3820
|
}, null, options);
|
|
3815
3821
|
})();
|
|
3816
3822
|
}
|
|
3817
3823
|
delete_user_credentials_saml(callback, user_id, options) {
|
|
3818
|
-
var
|
|
3824
|
+
var _this435 = this;
|
|
3819
3825
|
return _asyncToGenerator(function* () {
|
|
3820
3826
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3821
|
-
return
|
|
3827
|
+
return _this435.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3822
3828
|
})();
|
|
3823
3829
|
}
|
|
3824
3830
|
user_credentials_oidc(callback, user_id, fields, options) {
|
|
3825
|
-
var
|
|
3831
|
+
var _this436 = this;
|
|
3826
3832
|
return _asyncToGenerator(function* () {
|
|
3827
3833
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3828
|
-
return
|
|
3834
|
+
return _this436.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_oidc"), {
|
|
3829
3835
|
fields
|
|
3830
3836
|
}, null, options);
|
|
3831
3837
|
})();
|
|
3832
3838
|
}
|
|
3833
3839
|
delete_user_credentials_oidc(callback, user_id, options) {
|
|
3834
|
-
var
|
|
3840
|
+
var _this437 = this;
|
|
3835
3841
|
return _asyncToGenerator(function* () {
|
|
3836
3842
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3837
|
-
return
|
|
3843
|
+
return _this437.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3838
3844
|
})();
|
|
3839
3845
|
}
|
|
3840
3846
|
user_credentials_api3(callback, user_id, credentials_api3_id, fields, options) {
|
|
3841
|
-
var
|
|
3847
|
+
var _this438 = this;
|
|
3842
3848
|
return _asyncToGenerator(function* () {
|
|
3843
3849
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3844
3850
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3845
|
-
return
|
|
3851
|
+
return _this438.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3846
3852
|
fields
|
|
3847
3853
|
}, null, options);
|
|
3848
3854
|
})();
|
|
3849
3855
|
}
|
|
3850
3856
|
update_user_credentials_api3(callback, user_id, credentials_api3_id, body, fields, options) {
|
|
3851
|
-
var
|
|
3857
|
+
var _this439 = this;
|
|
3852
3858
|
return _asyncToGenerator(function* () {
|
|
3853
3859
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3854
3860
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3855
|
-
return
|
|
3861
|
+
return _this439.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3856
3862
|
fields
|
|
3857
3863
|
}, body, options);
|
|
3858
3864
|
})();
|
|
3859
3865
|
}
|
|
3860
3866
|
delete_user_credentials_api3(callback, user_id, credentials_api3_id, options) {
|
|
3861
|
-
var
|
|
3867
|
+
var _this440 = this;
|
|
3862
3868
|
return _asyncToGenerator(function* () {
|
|
3863
3869
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3864
3870
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3865
|
-
return
|
|
3871
|
+
return _this440.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3866
3872
|
})();
|
|
3867
3873
|
}
|
|
3868
3874
|
all_user_credentials_api3s(callback, user_id, fields, options) {
|
|
3869
|
-
var
|
|
3875
|
+
var _this441 = this;
|
|
3870
3876
|
return _asyncToGenerator(function* () {
|
|
3871
3877
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3872
|
-
return
|
|
3878
|
+
return _this441.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3873
3879
|
fields
|
|
3874
3880
|
}, null, options);
|
|
3875
3881
|
})();
|
|
3876
3882
|
}
|
|
3877
3883
|
create_user_credentials_api3(callback, user_id, fields, options) {
|
|
3878
|
-
var
|
|
3884
|
+
var _this442 = this;
|
|
3879
3885
|
return _asyncToGenerator(function* () {
|
|
3880
3886
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3881
|
-
return
|
|
3887
|
+
return _this442.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3882
3888
|
fields
|
|
3883
3889
|
}, null, options);
|
|
3884
3890
|
})();
|
|
3885
3891
|
}
|
|
3886
3892
|
user_credentials_embed(callback, user_id, credentials_embed_id, fields, options) {
|
|
3887
|
-
var
|
|
3893
|
+
var _this443 = this;
|
|
3888
3894
|
return _asyncToGenerator(function* () {
|
|
3889
3895
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3890
3896
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3891
|
-
return
|
|
3897
|
+
return _this443.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3892
3898
|
fields
|
|
3893
3899
|
}, null, options);
|
|
3894
3900
|
})();
|
|
3895
3901
|
}
|
|
3896
3902
|
delete_user_credentials_embed(callback, user_id, credentials_embed_id, options) {
|
|
3897
|
-
var
|
|
3903
|
+
var _this444 = this;
|
|
3898
3904
|
return _asyncToGenerator(function* () {
|
|
3899
3905
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3900
3906
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3901
|
-
return
|
|
3907
|
+
return _this444.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3902
3908
|
})();
|
|
3903
3909
|
}
|
|
3904
3910
|
all_user_credentials_embeds(callback, user_id, fields, options) {
|
|
3905
|
-
var
|
|
3911
|
+
var _this445 = this;
|
|
3906
3912
|
return _asyncToGenerator(function* () {
|
|
3907
3913
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3908
|
-
return
|
|
3914
|
+
return _this445.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed"), {
|
|
3909
3915
|
fields
|
|
3910
3916
|
}, null, options);
|
|
3911
3917
|
})();
|
|
3912
3918
|
}
|
|
3913
3919
|
user_credentials_looker_openid(callback, user_id, fields, options) {
|
|
3914
|
-
var
|
|
3920
|
+
var _this446 = this;
|
|
3915
3921
|
return _asyncToGenerator(function* () {
|
|
3916
3922
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3917
|
-
return
|
|
3923
|
+
return _this446.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3918
3924
|
fields
|
|
3919
3925
|
}, null, options);
|
|
3920
3926
|
})();
|
|
3921
3927
|
}
|
|
3922
3928
|
delete_user_credentials_looker_openid(callback, user_id, options) {
|
|
3923
|
-
var
|
|
3929
|
+
var _this447 = this;
|
|
3924
3930
|
return _asyncToGenerator(function* () {
|
|
3925
3931
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3926
|
-
return
|
|
3932
|
+
return _this447.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3927
3933
|
})();
|
|
3928
3934
|
}
|
|
3929
3935
|
user_session(callback, user_id, session_id, fields, options) {
|
|
3930
|
-
var
|
|
3936
|
+
var _this448 = this;
|
|
3931
3937
|
return _asyncToGenerator(function* () {
|
|
3932
3938
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3933
3939
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3934
|
-
return
|
|
3940
|
+
return _this448.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3935
3941
|
fields
|
|
3936
3942
|
}, null, options);
|
|
3937
3943
|
})();
|
|
3938
3944
|
}
|
|
3939
3945
|
delete_user_session(callback, user_id, session_id, options) {
|
|
3940
|
-
var
|
|
3946
|
+
var _this449 = this;
|
|
3941
3947
|
return _asyncToGenerator(function* () {
|
|
3942
3948
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3943
3949
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3944
|
-
return
|
|
3950
|
+
return _this449.authStream(callback, 'DELETE', "/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3945
3951
|
})();
|
|
3946
3952
|
}
|
|
3947
3953
|
all_user_sessions(callback, user_id, fields, options) {
|
|
3948
|
-
var
|
|
3954
|
+
var _this450 = this;
|
|
3949
3955
|
return _asyncToGenerator(function* () {
|
|
3950
3956
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3951
|
-
return
|
|
3957
|
+
return _this450.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions"), {
|
|
3952
3958
|
fields
|
|
3953
3959
|
}, null, options);
|
|
3954
3960
|
})();
|
|
3955
3961
|
}
|
|
3956
3962
|
create_user_credentials_email_password_reset(callback, request, options) {
|
|
3957
|
-
var
|
|
3963
|
+
var _this451 = this;
|
|
3958
3964
|
return _asyncToGenerator(function* () {
|
|
3959
3965
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3960
|
-
return
|
|
3966
|
+
return _this451.authStream(callback, 'POST', "/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3961
3967
|
expires: request.expires,
|
|
3962
3968
|
fields: request.fields
|
|
3963
3969
|
}, null, options);
|
|
3964
3970
|
})();
|
|
3965
3971
|
}
|
|
3966
3972
|
user_roles(callback, request, options) {
|
|
3967
|
-
var
|
|
3973
|
+
var _this452 = this;
|
|
3968
3974
|
return _asyncToGenerator(function* () {
|
|
3969
3975
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3970
|
-
return
|
|
3976
|
+
return _this452.authStream(callback, 'GET', "/users/".concat(request.user_id, "/roles"), {
|
|
3971
3977
|
fields: request.fields,
|
|
3972
3978
|
direct_association_only: request.direct_association_only
|
|
3973
3979
|
}, null, options);
|
|
3974
3980
|
})();
|
|
3975
3981
|
}
|
|
3976
3982
|
set_user_roles(callback, user_id, body, fields, options) {
|
|
3977
|
-
var
|
|
3983
|
+
var _this453 = this;
|
|
3978
3984
|
return _asyncToGenerator(function* () {
|
|
3979
3985
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3980
|
-
return
|
|
3986
|
+
return _this453.authStream(callback, 'PUT', "/users/".concat(user_id, "/roles"), {
|
|
3981
3987
|
fields
|
|
3982
3988
|
}, body, options);
|
|
3983
3989
|
})();
|
|
3984
3990
|
}
|
|
3985
3991
|
user_attribute_user_values(callback, request, options) {
|
|
3986
|
-
var
|
|
3992
|
+
var _this454 = this;
|
|
3987
3993
|
return _asyncToGenerator(function* () {
|
|
3988
3994
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3989
|
-
return
|
|
3995
|
+
return _this454.authStream(callback, 'GET', "/users/".concat(request.user_id, "/attribute_values"), {
|
|
3990
3996
|
fields: request.fields,
|
|
3991
3997
|
user_attribute_ids: request.user_attribute_ids,
|
|
3992
3998
|
all_values: request.all_values,
|
|
@@ -3995,122 +4001,122 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3995
4001
|
})();
|
|
3996
4002
|
}
|
|
3997
4003
|
set_user_attribute_user_value(callback, user_id, user_attribute_id, body, options) {
|
|
3998
|
-
var
|
|
4004
|
+
var _this455 = this;
|
|
3999
4005
|
return _asyncToGenerator(function* () {
|
|
4000
4006
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4001
4007
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4002
|
-
return
|
|
4008
|
+
return _this455.authStream(callback, 'PATCH', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
4003
4009
|
})();
|
|
4004
4010
|
}
|
|
4005
4011
|
delete_user_attribute_user_value(callback, user_id, user_attribute_id, options) {
|
|
4006
|
-
var
|
|
4012
|
+
var _this456 = this;
|
|
4007
4013
|
return _asyncToGenerator(function* () {
|
|
4008
4014
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4009
4015
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4010
|
-
return
|
|
4016
|
+
return _this456.authStream(callback, 'DELETE', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
4011
4017
|
})();
|
|
4012
4018
|
}
|
|
4013
4019
|
send_user_credentials_email_password_reset(callback, user_id, fields, options) {
|
|
4014
|
-
var
|
|
4020
|
+
var _this457 = this;
|
|
4015
4021
|
return _asyncToGenerator(function* () {
|
|
4016
4022
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4017
|
-
return
|
|
4023
|
+
return _this457.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
4018
4024
|
fields
|
|
4019
4025
|
}, null, options);
|
|
4020
4026
|
})();
|
|
4021
4027
|
}
|
|
4022
4028
|
wipeout_user_emails(callback, user_id, body, fields, options) {
|
|
4023
|
-
var
|
|
4029
|
+
var _this458 = this;
|
|
4024
4030
|
return _asyncToGenerator(function* () {
|
|
4025
4031
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4026
|
-
return
|
|
4032
|
+
return _this458.authStream(callback, 'POST', "/users/".concat(user_id, "/update_emails"), {
|
|
4027
4033
|
fields
|
|
4028
4034
|
}, body, options);
|
|
4029
4035
|
})();
|
|
4030
4036
|
}
|
|
4031
4037
|
create_embed_user(callback, body, options) {
|
|
4032
|
-
var
|
|
4038
|
+
var _this459 = this;
|
|
4033
4039
|
return _asyncToGenerator(function* () {
|
|
4034
|
-
return
|
|
4040
|
+
return _this459.authStream(callback, 'POST', '/users/embed_user', null, body, options);
|
|
4035
4041
|
})();
|
|
4036
4042
|
}
|
|
4037
4043
|
create_service_account(callback, body, fields, options) {
|
|
4038
|
-
var
|
|
4044
|
+
var _this460 = this;
|
|
4039
4045
|
return _asyncToGenerator(function* () {
|
|
4040
|
-
return
|
|
4046
|
+
return _this460.authStream(callback, 'POST', '/users/service_accounts', {
|
|
4041
4047
|
fields
|
|
4042
4048
|
}, body, options);
|
|
4043
4049
|
})();
|
|
4044
4050
|
}
|
|
4045
4051
|
all_user_attributes(callback, request, options) {
|
|
4046
|
-
var
|
|
4052
|
+
var _this461 = this;
|
|
4047
4053
|
return _asyncToGenerator(function* () {
|
|
4048
|
-
return
|
|
4054
|
+
return _this461.authStream(callback, 'GET', '/user_attributes', {
|
|
4049
4055
|
fields: request.fields,
|
|
4050
4056
|
sorts: request.sorts
|
|
4051
4057
|
}, null, options);
|
|
4052
4058
|
})();
|
|
4053
4059
|
}
|
|
4054
4060
|
create_user_attribute(callback, body, fields, options) {
|
|
4055
|
-
var
|
|
4061
|
+
var _this462 = this;
|
|
4056
4062
|
return _asyncToGenerator(function* () {
|
|
4057
|
-
return
|
|
4063
|
+
return _this462.authStream(callback, 'POST', '/user_attributes', {
|
|
4058
4064
|
fields
|
|
4059
4065
|
}, body, options);
|
|
4060
4066
|
})();
|
|
4061
4067
|
}
|
|
4062
4068
|
user_attribute(callback, user_attribute_id, fields, options) {
|
|
4063
|
-
var
|
|
4069
|
+
var _this463 = this;
|
|
4064
4070
|
return _asyncToGenerator(function* () {
|
|
4065
4071
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4066
|
-
return
|
|
4072
|
+
return _this463.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id), {
|
|
4067
4073
|
fields
|
|
4068
4074
|
}, null, options);
|
|
4069
4075
|
})();
|
|
4070
4076
|
}
|
|
4071
4077
|
update_user_attribute(callback, user_attribute_id, body, fields, options) {
|
|
4072
|
-
var
|
|
4078
|
+
var _this464 = this;
|
|
4073
4079
|
return _asyncToGenerator(function* () {
|
|
4074
4080
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4075
|
-
return
|
|
4081
|
+
return _this464.authStream(callback, 'PATCH', "/user_attributes/".concat(user_attribute_id), {
|
|
4076
4082
|
fields
|
|
4077
4083
|
}, body, options);
|
|
4078
4084
|
})();
|
|
4079
4085
|
}
|
|
4080
4086
|
delete_user_attribute(callback, user_attribute_id, options) {
|
|
4081
|
-
var
|
|
4087
|
+
var _this465 = this;
|
|
4082
4088
|
return _asyncToGenerator(function* () {
|
|
4083
4089
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4084
|
-
return
|
|
4090
|
+
return _this465.authStream(callback, 'DELETE', "/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
4085
4091
|
})();
|
|
4086
4092
|
}
|
|
4087
4093
|
all_user_attribute_group_values(callback, user_attribute_id, fields, options) {
|
|
4088
|
-
var
|
|
4094
|
+
var _this466 = this;
|
|
4089
4095
|
return _asyncToGenerator(function* () {
|
|
4090
4096
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4091
|
-
return
|
|
4097
|
+
return _this466.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
4092
4098
|
fields
|
|
4093
4099
|
}, null, options);
|
|
4094
4100
|
})();
|
|
4095
4101
|
}
|
|
4096
4102
|
set_user_attribute_group_values(callback, user_attribute_id, body, options) {
|
|
4097
|
-
var
|
|
4103
|
+
var _this467 = this;
|
|
4098
4104
|
return _asyncToGenerator(function* () {
|
|
4099
4105
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4100
|
-
return
|
|
4106
|
+
return _this467.authStream(callback, 'POST', "/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
4101
4107
|
})();
|
|
4102
4108
|
}
|
|
4103
4109
|
all_workspaces(callback, options) {
|
|
4104
|
-
var
|
|
4110
|
+
var _this468 = this;
|
|
4105
4111
|
return _asyncToGenerator(function* () {
|
|
4106
|
-
return
|
|
4112
|
+
return _this468.authStream(callback, 'GET', '/workspaces', null, null, options);
|
|
4107
4113
|
})();
|
|
4108
4114
|
}
|
|
4109
4115
|
workspace(callback, workspace_id, options) {
|
|
4110
|
-
var
|
|
4116
|
+
var _this469 = this;
|
|
4111
4117
|
return _asyncToGenerator(function* () {
|
|
4112
4118
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
4113
|
-
return
|
|
4119
|
+
return _this469.authStream(callback, 'GET', "/workspaces/".concat(workspace_id), null, null, options);
|
|
4114
4120
|
})();
|
|
4115
4121
|
}
|
|
4116
4122
|
}
|