@looker/sdk 25.4.0 → 25.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/lib/4.0/funcs.d.ts +4 -2
- package/lib/4.0/funcs.js +567 -543
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +4 -2
- package/lib/4.0/methods.js +293 -273
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +4 -2
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +219 -1
- package/lib/4.0/models.js +17 -1
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +4 -2
- package/lib/4.0/streams.js +293 -273
- 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 +562 -538
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +293 -273
- 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 +16 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +293 -273
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/4.0/methods.js
CHANGED
|
@@ -1376,13 +1376,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1376
1376
|
}, body, options);
|
|
1377
1377
|
})();
|
|
1378
1378
|
}
|
|
1379
|
-
sync_lookml_dashboard(
|
|
1379
|
+
sync_lookml_dashboard(request, options) {
|
|
1380
1380
|
var _this173 = this;
|
|
1381
1381
|
return _asyncToGenerator(function* () {
|
|
1382
|
-
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
1383
|
-
return _this173.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1384
|
-
raw_locale
|
|
1385
|
-
|
|
1382
|
+
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
1383
|
+
return _this173.patch("/dashboards/".concat(request.lookml_dashboard_id, "/sync"), {
|
|
1384
|
+
raw_locale: request.raw_locale,
|
|
1385
|
+
dashboard_ids: request.dashboard_ids
|
|
1386
|
+
}, null, options);
|
|
1386
1387
|
})();
|
|
1387
1388
|
}
|
|
1388
1389
|
dashboard(dashboard_id, fields, options) {
|
|
@@ -2570,33 +2571,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2570
2571
|
}, request.body, options);
|
|
2571
2572
|
})();
|
|
2572
2573
|
}
|
|
2573
|
-
|
|
2574
|
+
get_ci_run(project_id, run_id, fields, options) {
|
|
2574
2575
|
var _this304 = this;
|
|
2576
|
+
return _asyncToGenerator(function* () {
|
|
2577
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2578
|
+
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2579
|
+
return _this304.get("/projects/".concat(project_id, "/ci/runs/").concat(run_id), {
|
|
2580
|
+
fields
|
|
2581
|
+
}, null, options);
|
|
2582
|
+
})();
|
|
2583
|
+
}
|
|
2584
|
+
create_ci_run(project_id, body, fields, options) {
|
|
2585
|
+
var _this305 = this;
|
|
2586
|
+
return _asyncToGenerator(function* () {
|
|
2587
|
+
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2588
|
+
return _this305.post("/projects/".concat(project_id, "/ci/run"), {
|
|
2589
|
+
fields
|
|
2590
|
+
}, body, options);
|
|
2591
|
+
})();
|
|
2592
|
+
}
|
|
2593
|
+
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2594
|
+
var _this306 = this;
|
|
2575
2595
|
return _asyncToGenerator(function* () {
|
|
2576
2596
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2577
2597
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2578
|
-
return
|
|
2598
|
+
return _this306.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2579
2599
|
})();
|
|
2580
2600
|
}
|
|
2581
2601
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2582
|
-
var
|
|
2602
|
+
var _this307 = this;
|
|
2583
2603
|
return _asyncToGenerator(function* () {
|
|
2584
2604
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2585
2605
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2586
|
-
return
|
|
2606
|
+
return _this307.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2587
2607
|
})();
|
|
2588
2608
|
}
|
|
2589
2609
|
get_all_repository_credentials(root_project_id, options) {
|
|
2590
|
-
var
|
|
2610
|
+
var _this308 = this;
|
|
2591
2611
|
return _asyncToGenerator(function* () {
|
|
2592
2612
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2593
|
-
return
|
|
2613
|
+
return _this308.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2594
2614
|
})();
|
|
2595
2615
|
}
|
|
2596
2616
|
create_query_task(request, options) {
|
|
2597
|
-
var
|
|
2617
|
+
var _this309 = this;
|
|
2598
2618
|
return _asyncToGenerator(function* () {
|
|
2599
|
-
return
|
|
2619
|
+
return _this309.post('/query_tasks', {
|
|
2600
2620
|
limit: request.limit,
|
|
2601
2621
|
apply_formatting: request.apply_formatting,
|
|
2602
2622
|
apply_vis: request.apply_vis,
|
|
@@ -2612,61 +2632,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2612
2632
|
})();
|
|
2613
2633
|
}
|
|
2614
2634
|
query_task_multi_results(query_task_ids, options) {
|
|
2615
|
-
var
|
|
2635
|
+
var _this310 = this;
|
|
2616
2636
|
return _asyncToGenerator(function* () {
|
|
2617
|
-
return
|
|
2637
|
+
return _this310.get('/query_tasks/multi_results', {
|
|
2618
2638
|
query_task_ids
|
|
2619
2639
|
}, null, options);
|
|
2620
2640
|
})();
|
|
2621
2641
|
}
|
|
2622
2642
|
query_task(query_task_id, fields, options) {
|
|
2623
|
-
var
|
|
2643
|
+
var _this311 = this;
|
|
2624
2644
|
return _asyncToGenerator(function* () {
|
|
2625
2645
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2626
|
-
return
|
|
2646
|
+
return _this311.get("/query_tasks/".concat(query_task_id), {
|
|
2627
2647
|
fields
|
|
2628
2648
|
}, null, options);
|
|
2629
2649
|
})();
|
|
2630
2650
|
}
|
|
2631
2651
|
query_task_results(query_task_id, options) {
|
|
2632
|
-
var
|
|
2652
|
+
var _this312 = this;
|
|
2633
2653
|
return _asyncToGenerator(function* () {
|
|
2634
2654
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2635
|
-
return
|
|
2655
|
+
return _this312.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2636
2656
|
})();
|
|
2637
2657
|
}
|
|
2638
2658
|
query(query_id, fields, options) {
|
|
2639
|
-
var
|
|
2659
|
+
var _this313 = this;
|
|
2640
2660
|
return _asyncToGenerator(function* () {
|
|
2641
2661
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2642
|
-
return
|
|
2662
|
+
return _this313.get("/queries/".concat(query_id), {
|
|
2643
2663
|
fields
|
|
2644
2664
|
}, null, options);
|
|
2645
2665
|
})();
|
|
2646
2666
|
}
|
|
2647
2667
|
query_for_slug(slug, fields, options) {
|
|
2648
|
-
var
|
|
2668
|
+
var _this314 = this;
|
|
2649
2669
|
return _asyncToGenerator(function* () {
|
|
2650
2670
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2651
|
-
return
|
|
2671
|
+
return _this314.get("/queries/slug/".concat(slug), {
|
|
2652
2672
|
fields
|
|
2653
2673
|
}, null, options);
|
|
2654
2674
|
})();
|
|
2655
2675
|
}
|
|
2656
2676
|
create_query(body, fields, options) {
|
|
2657
|
-
var
|
|
2677
|
+
var _this315 = this;
|
|
2658
2678
|
return _asyncToGenerator(function* () {
|
|
2659
|
-
return
|
|
2679
|
+
return _this315.post('/queries', {
|
|
2660
2680
|
fields
|
|
2661
2681
|
}, body, options);
|
|
2662
2682
|
})();
|
|
2663
2683
|
}
|
|
2664
2684
|
run_query(request, options) {
|
|
2665
|
-
var
|
|
2685
|
+
var _this316 = this;
|
|
2666
2686
|
return _asyncToGenerator(function* () {
|
|
2667
2687
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2668
2688
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2669
|
-
return
|
|
2689
|
+
return _this316.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2670
2690
|
limit: request.limit,
|
|
2671
2691
|
apply_formatting: request.apply_formatting,
|
|
2672
2692
|
apply_vis: request.apply_vis,
|
|
@@ -2685,10 +2705,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2685
2705
|
})();
|
|
2686
2706
|
}
|
|
2687
2707
|
run_inline_query(request, options) {
|
|
2688
|
-
var
|
|
2708
|
+
var _this317 = this;
|
|
2689
2709
|
return _asyncToGenerator(function* () {
|
|
2690
2710
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2691
|
-
return
|
|
2711
|
+
return _this317.post("/queries/run/".concat(request.result_format), {
|
|
2692
2712
|
limit: request.limit,
|
|
2693
2713
|
apply_formatting: request.apply_formatting,
|
|
2694
2714
|
apply_vis: request.apply_vis,
|
|
@@ -2706,73 +2726,73 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2706
2726
|
})();
|
|
2707
2727
|
}
|
|
2708
2728
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2709
|
-
var
|
|
2729
|
+
var _this318 = this;
|
|
2710
2730
|
return _asyncToGenerator(function* () {
|
|
2711
2731
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2712
2732
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2713
2733
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2714
|
-
return
|
|
2734
|
+
return _this318.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2715
2735
|
})();
|
|
2716
2736
|
}
|
|
2717
2737
|
merge_query(merge_query_id, fields, options) {
|
|
2718
|
-
var
|
|
2738
|
+
var _this319 = this;
|
|
2719
2739
|
return _asyncToGenerator(function* () {
|
|
2720
2740
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2721
|
-
return
|
|
2741
|
+
return _this319.get("/merge_queries/".concat(merge_query_id), {
|
|
2722
2742
|
fields
|
|
2723
2743
|
}, null, options);
|
|
2724
2744
|
})();
|
|
2725
2745
|
}
|
|
2726
2746
|
create_merge_query(body, fields, options) {
|
|
2727
|
-
var
|
|
2747
|
+
var _this320 = this;
|
|
2728
2748
|
return _asyncToGenerator(function* () {
|
|
2729
|
-
return
|
|
2749
|
+
return _this320.post('/merge_queries', {
|
|
2730
2750
|
fields
|
|
2731
2751
|
}, body, options);
|
|
2732
2752
|
})();
|
|
2733
2753
|
}
|
|
2734
2754
|
all_running_queries(options) {
|
|
2735
|
-
var
|
|
2755
|
+
var _this321 = this;
|
|
2736
2756
|
return _asyncToGenerator(function* () {
|
|
2737
|
-
return
|
|
2757
|
+
return _this321.get('/running_queries', null, null, options);
|
|
2738
2758
|
})();
|
|
2739
2759
|
}
|
|
2740
2760
|
kill_query(query_task_id, options) {
|
|
2741
|
-
var
|
|
2761
|
+
var _this322 = this;
|
|
2742
2762
|
return _asyncToGenerator(function* () {
|
|
2743
2763
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2744
|
-
return
|
|
2764
|
+
return _this322.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2745
2765
|
})();
|
|
2746
2766
|
}
|
|
2747
2767
|
create_sql_query(body, options) {
|
|
2748
|
-
var
|
|
2768
|
+
var _this323 = this;
|
|
2749
2769
|
return _asyncToGenerator(function* () {
|
|
2750
|
-
return
|
|
2770
|
+
return _this323.post('/sql_queries', null, body, options);
|
|
2751
2771
|
})();
|
|
2752
2772
|
}
|
|
2753
2773
|
sql_query(slug, options) {
|
|
2754
|
-
var
|
|
2774
|
+
var _this324 = this;
|
|
2755
2775
|
return _asyncToGenerator(function* () {
|
|
2756
2776
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2757
|
-
return
|
|
2777
|
+
return _this324.get("/sql_queries/".concat(slug), null, null, options);
|
|
2758
2778
|
})();
|
|
2759
2779
|
}
|
|
2760
2780
|
run_sql_query(slug, result_format, download, options) {
|
|
2761
|
-
var
|
|
2781
|
+
var _this325 = this;
|
|
2762
2782
|
return _asyncToGenerator(function* () {
|
|
2763
2783
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2764
2784
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2765
|
-
return
|
|
2785
|
+
return _this325.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2766
2786
|
download
|
|
2767
2787
|
}, null, options);
|
|
2768
2788
|
})();
|
|
2769
2789
|
}
|
|
2770
2790
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
2771
|
-
var
|
|
2791
|
+
var _this326 = this;
|
|
2772
2792
|
return _asyncToGenerator(function* () {
|
|
2773
2793
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2774
2794
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2775
|
-
return
|
|
2795
|
+
return _this326.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2776
2796
|
width,
|
|
2777
2797
|
height,
|
|
2778
2798
|
fields
|
|
@@ -2780,11 +2800,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2780
2800
|
})();
|
|
2781
2801
|
}
|
|
2782
2802
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
2783
|
-
var
|
|
2803
|
+
var _this327 = this;
|
|
2784
2804
|
return _asyncToGenerator(function* () {
|
|
2785
2805
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2786
2806
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2787
|
-
return
|
|
2807
|
+
return _this327.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2788
2808
|
width,
|
|
2789
2809
|
height,
|
|
2790
2810
|
fields
|
|
@@ -2792,11 +2812,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2792
2812
|
})();
|
|
2793
2813
|
}
|
|
2794
2814
|
create_dashboard_render_task(request, options) {
|
|
2795
|
-
var
|
|
2815
|
+
var _this328 = this;
|
|
2796
2816
|
return _asyncToGenerator(function* () {
|
|
2797
2817
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
2798
2818
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2799
|
-
return
|
|
2819
|
+
return _this328.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2800
2820
|
width: request.width,
|
|
2801
2821
|
height: request.height,
|
|
2802
2822
|
fields: request.fields,
|
|
@@ -2808,27 +2828,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2808
2828
|
})();
|
|
2809
2829
|
}
|
|
2810
2830
|
render_task(render_task_id, fields, options) {
|
|
2811
|
-
var
|
|
2831
|
+
var _this329 = this;
|
|
2812
2832
|
return _asyncToGenerator(function* () {
|
|
2813
2833
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2814
|
-
return
|
|
2834
|
+
return _this329.get("/render_tasks/".concat(render_task_id), {
|
|
2815
2835
|
fields
|
|
2816
2836
|
}, null, options);
|
|
2817
2837
|
})();
|
|
2818
2838
|
}
|
|
2819
2839
|
render_task_results(render_task_id, options) {
|
|
2820
|
-
var
|
|
2840
|
+
var _this330 = this;
|
|
2821
2841
|
return _asyncToGenerator(function* () {
|
|
2822
2842
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2823
|
-
return
|
|
2843
|
+
return _this330.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2824
2844
|
})();
|
|
2825
2845
|
}
|
|
2826
2846
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
2827
|
-
var
|
|
2847
|
+
var _this331 = this;
|
|
2828
2848
|
return _asyncToGenerator(function* () {
|
|
2829
2849
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
2830
2850
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2831
|
-
return
|
|
2851
|
+
return _this331.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2832
2852
|
width,
|
|
2833
2853
|
height,
|
|
2834
2854
|
fields
|
|
@@ -2836,9 +2856,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2836
2856
|
})();
|
|
2837
2857
|
}
|
|
2838
2858
|
search_reports(request, options) {
|
|
2839
|
-
var
|
|
2859
|
+
var _this332 = this;
|
|
2840
2860
|
return _asyncToGenerator(function* () {
|
|
2841
|
-
return
|
|
2861
|
+
return _this332.get('/reports/search', {
|
|
2842
2862
|
folder_id: request.folder_id,
|
|
2843
2863
|
favorite: request.favorite,
|
|
2844
2864
|
recent: request.recent,
|
|
@@ -2852,9 +2872,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2852
2872
|
})();
|
|
2853
2873
|
}
|
|
2854
2874
|
search_model_sets(request, options) {
|
|
2855
|
-
var
|
|
2875
|
+
var _this333 = this;
|
|
2856
2876
|
return _asyncToGenerator(function* () {
|
|
2857
|
-
return
|
|
2877
|
+
return _this333.get('/model_sets/search', {
|
|
2858
2878
|
fields: request.fields,
|
|
2859
2879
|
limit: request.limit,
|
|
2860
2880
|
offset: request.offset,
|
|
@@ -2868,52 +2888,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2868
2888
|
})();
|
|
2869
2889
|
}
|
|
2870
2890
|
model_set(model_set_id, fields, options) {
|
|
2871
|
-
var
|
|
2891
|
+
var _this334 = this;
|
|
2872
2892
|
return _asyncToGenerator(function* () {
|
|
2873
2893
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2874
|
-
return
|
|
2894
|
+
return _this334.get("/model_sets/".concat(model_set_id), {
|
|
2875
2895
|
fields
|
|
2876
2896
|
}, null, options);
|
|
2877
2897
|
})();
|
|
2878
2898
|
}
|
|
2879
2899
|
update_model_set(model_set_id, body, options) {
|
|
2880
|
-
var
|
|
2900
|
+
var _this335 = this;
|
|
2881
2901
|
return _asyncToGenerator(function* () {
|
|
2882
2902
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2883
|
-
return
|
|
2903
|
+
return _this335.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2884
2904
|
})();
|
|
2885
2905
|
}
|
|
2886
2906
|
delete_model_set(model_set_id, options) {
|
|
2887
|
-
var
|
|
2907
|
+
var _this336 = this;
|
|
2888
2908
|
return _asyncToGenerator(function* () {
|
|
2889
2909
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2890
|
-
return
|
|
2910
|
+
return _this336.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2891
2911
|
})();
|
|
2892
2912
|
}
|
|
2893
2913
|
all_model_sets(fields, options) {
|
|
2894
|
-
var
|
|
2914
|
+
var _this337 = this;
|
|
2895
2915
|
return _asyncToGenerator(function* () {
|
|
2896
|
-
return
|
|
2916
|
+
return _this337.get('/model_sets', {
|
|
2897
2917
|
fields
|
|
2898
2918
|
}, null, options);
|
|
2899
2919
|
})();
|
|
2900
2920
|
}
|
|
2901
2921
|
create_model_set(body, options) {
|
|
2902
|
-
var
|
|
2922
|
+
var _this338 = this;
|
|
2903
2923
|
return _asyncToGenerator(function* () {
|
|
2904
|
-
return
|
|
2924
|
+
return _this338.post('/model_sets', null, body, options);
|
|
2905
2925
|
})();
|
|
2906
2926
|
}
|
|
2907
2927
|
all_permissions(options) {
|
|
2908
|
-
var
|
|
2928
|
+
var _this339 = this;
|
|
2909
2929
|
return _asyncToGenerator(function* () {
|
|
2910
|
-
return
|
|
2930
|
+
return _this339.get('/permissions', null, null, options);
|
|
2911
2931
|
})();
|
|
2912
2932
|
}
|
|
2913
2933
|
search_permission_sets(request, options) {
|
|
2914
|
-
var
|
|
2934
|
+
var _this340 = this;
|
|
2915
2935
|
return _asyncToGenerator(function* () {
|
|
2916
|
-
return
|
|
2936
|
+
return _this340.get('/permission_sets/search', {
|
|
2917
2937
|
fields: request.fields,
|
|
2918
2938
|
limit: request.limit,
|
|
2919
2939
|
offset: request.offset,
|
|
@@ -2927,61 +2947,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2927
2947
|
})();
|
|
2928
2948
|
}
|
|
2929
2949
|
permission_set(permission_set_id, fields, options) {
|
|
2930
|
-
var
|
|
2950
|
+
var _this341 = this;
|
|
2931
2951
|
return _asyncToGenerator(function* () {
|
|
2932
2952
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2933
|
-
return
|
|
2953
|
+
return _this341.get("/permission_sets/".concat(permission_set_id), {
|
|
2934
2954
|
fields
|
|
2935
2955
|
}, null, options);
|
|
2936
2956
|
})();
|
|
2937
2957
|
}
|
|
2938
2958
|
update_permission_set(permission_set_id, body, options) {
|
|
2939
|
-
var
|
|
2959
|
+
var _this342 = this;
|
|
2940
2960
|
return _asyncToGenerator(function* () {
|
|
2941
2961
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2942
|
-
return
|
|
2962
|
+
return _this342.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2943
2963
|
})();
|
|
2944
2964
|
}
|
|
2945
2965
|
delete_permission_set(permission_set_id, options) {
|
|
2946
|
-
var
|
|
2966
|
+
var _this343 = this;
|
|
2947
2967
|
return _asyncToGenerator(function* () {
|
|
2948
2968
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2949
|
-
return
|
|
2969
|
+
return _this343.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2950
2970
|
})();
|
|
2951
2971
|
}
|
|
2952
2972
|
all_permission_sets(fields, options) {
|
|
2953
|
-
var
|
|
2973
|
+
var _this344 = this;
|
|
2954
2974
|
return _asyncToGenerator(function* () {
|
|
2955
|
-
return
|
|
2975
|
+
return _this344.get('/permission_sets', {
|
|
2956
2976
|
fields
|
|
2957
2977
|
}, null, options);
|
|
2958
2978
|
})();
|
|
2959
2979
|
}
|
|
2960
2980
|
create_permission_set(body, options) {
|
|
2961
|
-
var
|
|
2981
|
+
var _this345 = this;
|
|
2962
2982
|
return _asyncToGenerator(function* () {
|
|
2963
|
-
return
|
|
2983
|
+
return _this345.post('/permission_sets', null, body, options);
|
|
2964
2984
|
})();
|
|
2965
2985
|
}
|
|
2966
2986
|
all_roles(request, options) {
|
|
2967
|
-
var
|
|
2987
|
+
var _this346 = this;
|
|
2968
2988
|
return _asyncToGenerator(function* () {
|
|
2969
|
-
return
|
|
2989
|
+
return _this346.get('/roles', {
|
|
2970
2990
|
fields: request.fields,
|
|
2971
2991
|
ids: request.ids
|
|
2972
2992
|
}, null, options);
|
|
2973
2993
|
})();
|
|
2974
2994
|
}
|
|
2975
2995
|
create_role(body, options) {
|
|
2976
|
-
var
|
|
2996
|
+
var _this347 = this;
|
|
2977
2997
|
return _asyncToGenerator(function* () {
|
|
2978
|
-
return
|
|
2998
|
+
return _this347.post('/roles', null, body, options);
|
|
2979
2999
|
})();
|
|
2980
3000
|
}
|
|
2981
3001
|
search_roles(request, options) {
|
|
2982
|
-
var
|
|
3002
|
+
var _this348 = this;
|
|
2983
3003
|
return _asyncToGenerator(function* () {
|
|
2984
|
-
return
|
|
3004
|
+
return _this348.get('/roles/search', {
|
|
2985
3005
|
fields: request.fields,
|
|
2986
3006
|
limit: request.limit,
|
|
2987
3007
|
offset: request.offset,
|
|
@@ -2995,9 +3015,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2995
3015
|
})();
|
|
2996
3016
|
}
|
|
2997
3017
|
search_roles_with_user_count(request, options) {
|
|
2998
|
-
var
|
|
3018
|
+
var _this349 = this;
|
|
2999
3019
|
return _asyncToGenerator(function* () {
|
|
3000
|
-
return
|
|
3020
|
+
return _this349.get('/roles/search/with_user_count', {
|
|
3001
3021
|
fields: request.fields,
|
|
3002
3022
|
limit: request.limit,
|
|
3003
3023
|
offset: request.offset,
|
|
@@ -3010,95 +3030,95 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3010
3030
|
})();
|
|
3011
3031
|
}
|
|
3012
3032
|
role(role_id, options) {
|
|
3013
|
-
var
|
|
3033
|
+
var _this350 = this;
|
|
3014
3034
|
return _asyncToGenerator(function* () {
|
|
3015
3035
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3016
|
-
return
|
|
3036
|
+
return _this350.get("/roles/".concat(role_id), null, null, options);
|
|
3017
3037
|
})();
|
|
3018
3038
|
}
|
|
3019
3039
|
update_role(role_id, body, options) {
|
|
3020
|
-
var
|
|
3040
|
+
var _this351 = this;
|
|
3021
3041
|
return _asyncToGenerator(function* () {
|
|
3022
3042
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3023
|
-
return
|
|
3043
|
+
return _this351.patch("/roles/".concat(role_id), null, body, options);
|
|
3024
3044
|
})();
|
|
3025
3045
|
}
|
|
3026
3046
|
delete_role(role_id, options) {
|
|
3027
|
-
var
|
|
3047
|
+
var _this352 = this;
|
|
3028
3048
|
return _asyncToGenerator(function* () {
|
|
3029
3049
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3030
|
-
return
|
|
3050
|
+
return _this352.delete("/roles/".concat(role_id), null, null, options);
|
|
3031
3051
|
})();
|
|
3032
3052
|
}
|
|
3033
3053
|
role_groups(role_id, fields, options) {
|
|
3034
|
-
var
|
|
3054
|
+
var _this353 = this;
|
|
3035
3055
|
return _asyncToGenerator(function* () {
|
|
3036
3056
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3037
|
-
return
|
|
3057
|
+
return _this353.get("/roles/".concat(role_id, "/groups"), {
|
|
3038
3058
|
fields
|
|
3039
3059
|
}, null, options);
|
|
3040
3060
|
})();
|
|
3041
3061
|
}
|
|
3042
3062
|
set_role_groups(role_id, body, options) {
|
|
3043
|
-
var
|
|
3063
|
+
var _this354 = this;
|
|
3044
3064
|
return _asyncToGenerator(function* () {
|
|
3045
3065
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3046
|
-
return
|
|
3066
|
+
return _this354.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3047
3067
|
})();
|
|
3048
3068
|
}
|
|
3049
3069
|
role_users(request, options) {
|
|
3050
|
-
var
|
|
3070
|
+
var _this355 = this;
|
|
3051
3071
|
return _asyncToGenerator(function* () {
|
|
3052
3072
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3053
|
-
return
|
|
3073
|
+
return _this355.get("/roles/".concat(request.role_id, "/users"), {
|
|
3054
3074
|
fields: request.fields,
|
|
3055
3075
|
direct_association_only: request.direct_association_only
|
|
3056
3076
|
}, null, options);
|
|
3057
3077
|
})();
|
|
3058
3078
|
}
|
|
3059
3079
|
set_role_users(role_id, body, options) {
|
|
3060
|
-
var
|
|
3080
|
+
var _this356 = this;
|
|
3061
3081
|
return _asyncToGenerator(function* () {
|
|
3062
3082
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3063
|
-
return
|
|
3083
|
+
return _this356.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3064
3084
|
})();
|
|
3065
3085
|
}
|
|
3066
3086
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3067
|
-
var
|
|
3087
|
+
var _this357 = this;
|
|
3068
3088
|
return _asyncToGenerator(function* () {
|
|
3069
3089
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3070
|
-
return
|
|
3090
|
+
return _this357.get("/scheduled_plans/space/".concat(space_id), {
|
|
3071
3091
|
fields
|
|
3072
3092
|
}, null, options);
|
|
3073
3093
|
})();
|
|
3074
3094
|
}
|
|
3075
3095
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3076
|
-
var
|
|
3096
|
+
var _this358 = this;
|
|
3077
3097
|
return _asyncToGenerator(function* () {
|
|
3078
3098
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3079
|
-
return
|
|
3099
|
+
return _this358.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3080
3100
|
fields
|
|
3081
3101
|
}, null, options);
|
|
3082
3102
|
})();
|
|
3083
3103
|
}
|
|
3084
3104
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3085
|
-
var
|
|
3105
|
+
var _this359 = this;
|
|
3086
3106
|
return _asyncToGenerator(function* () {
|
|
3087
3107
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3088
|
-
return
|
|
3108
|
+
return _this359.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3089
3109
|
})();
|
|
3090
3110
|
}
|
|
3091
3111
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3092
|
-
var
|
|
3112
|
+
var _this360 = this;
|
|
3093
3113
|
return _asyncToGenerator(function* () {
|
|
3094
3114
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3095
|
-
return
|
|
3115
|
+
return _this360.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3096
3116
|
})();
|
|
3097
3117
|
}
|
|
3098
3118
|
all_scheduled_plans(request, options) {
|
|
3099
|
-
var
|
|
3119
|
+
var _this361 = this;
|
|
3100
3120
|
return _asyncToGenerator(function* () {
|
|
3101
|
-
return
|
|
3121
|
+
return _this361.get('/scheduled_plans', {
|
|
3102
3122
|
user_id: request.user_id,
|
|
3103
3123
|
fields: request.fields,
|
|
3104
3124
|
all_users: request.all_users
|
|
@@ -3106,21 +3126,21 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3106
3126
|
})();
|
|
3107
3127
|
}
|
|
3108
3128
|
create_scheduled_plan(body, options) {
|
|
3109
|
-
var
|
|
3129
|
+
var _this362 = this;
|
|
3110
3130
|
return _asyncToGenerator(function* () {
|
|
3111
|
-
return
|
|
3131
|
+
return _this362.post('/scheduled_plans', null, body, options);
|
|
3112
3132
|
})();
|
|
3113
3133
|
}
|
|
3114
3134
|
scheduled_plan_run_once(body, options) {
|
|
3115
|
-
var
|
|
3135
|
+
var _this363 = this;
|
|
3116
3136
|
return _asyncToGenerator(function* () {
|
|
3117
|
-
return
|
|
3137
|
+
return _this363.post('/scheduled_plans/run_once', null, body, options);
|
|
3118
3138
|
})();
|
|
3119
3139
|
}
|
|
3120
3140
|
search_scheduled_plans(request, options) {
|
|
3121
|
-
var
|
|
3141
|
+
var _this364 = this;
|
|
3122
3142
|
return _asyncToGenerator(function* () {
|
|
3123
|
-
return
|
|
3143
|
+
return _this364.get('/scheduled_plans/search', {
|
|
3124
3144
|
user_id: request.user_id,
|
|
3125
3145
|
fields: request.fields,
|
|
3126
3146
|
all_users: request.all_users,
|
|
@@ -3141,10 +3161,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3141
3161
|
})();
|
|
3142
3162
|
}
|
|
3143
3163
|
scheduled_plans_for_look(request, options) {
|
|
3144
|
-
var
|
|
3164
|
+
var _this365 = this;
|
|
3145
3165
|
return _asyncToGenerator(function* () {
|
|
3146
3166
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3147
|
-
return
|
|
3167
|
+
return _this365.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3148
3168
|
user_id: request.user_id,
|
|
3149
3169
|
fields: request.fields,
|
|
3150
3170
|
all_users: request.all_users
|
|
@@ -3152,10 +3172,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3152
3172
|
})();
|
|
3153
3173
|
}
|
|
3154
3174
|
scheduled_plans_for_dashboard(request, options) {
|
|
3155
|
-
var
|
|
3175
|
+
var _this366 = this;
|
|
3156
3176
|
return _asyncToGenerator(function* () {
|
|
3157
3177
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3158
|
-
return
|
|
3178
|
+
return _this366.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3159
3179
|
user_id: request.user_id,
|
|
3160
3180
|
all_users: request.all_users,
|
|
3161
3181
|
fields: request.fields
|
|
@@ -3163,10 +3183,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3163
3183
|
})();
|
|
3164
3184
|
}
|
|
3165
3185
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3166
|
-
var
|
|
3186
|
+
var _this367 = this;
|
|
3167
3187
|
return _asyncToGenerator(function* () {
|
|
3168
3188
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3169
|
-
return
|
|
3189
|
+
return _this367.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3170
3190
|
user_id: request.user_id,
|
|
3171
3191
|
fields: request.fields,
|
|
3172
3192
|
all_users: request.all_users
|
|
@@ -3174,63 +3194,63 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3174
3194
|
})();
|
|
3175
3195
|
}
|
|
3176
3196
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3177
|
-
var
|
|
3197
|
+
var _this368 = this;
|
|
3178
3198
|
return _asyncToGenerator(function* () {
|
|
3179
3199
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3180
|
-
return
|
|
3200
|
+
return _this368.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3181
3201
|
})();
|
|
3182
3202
|
}
|
|
3183
3203
|
session(options) {
|
|
3184
|
-
var
|
|
3204
|
+
var _this369 = this;
|
|
3185
3205
|
return _asyncToGenerator(function* () {
|
|
3186
|
-
return
|
|
3206
|
+
return _this369.get('/session', null, null, options);
|
|
3187
3207
|
})();
|
|
3188
3208
|
}
|
|
3189
3209
|
update_session(body, options) {
|
|
3190
|
-
var
|
|
3210
|
+
var _this370 = this;
|
|
3191
3211
|
return _asyncToGenerator(function* () {
|
|
3192
|
-
return
|
|
3212
|
+
return _this370.patch('/session', null, body, options);
|
|
3193
3213
|
})();
|
|
3194
3214
|
}
|
|
3195
3215
|
sql_interface_metadata(avatica_request, options) {
|
|
3196
|
-
var
|
|
3216
|
+
var _this371 = this;
|
|
3197
3217
|
return _asyncToGenerator(function* () {
|
|
3198
|
-
return
|
|
3218
|
+
return _this371.get('/sql_interface_queries/metadata', {
|
|
3199
3219
|
avatica_request
|
|
3200
3220
|
}, null, options);
|
|
3201
3221
|
})();
|
|
3202
3222
|
}
|
|
3203
3223
|
run_sql_interface_query(query_id, result_format, options) {
|
|
3204
|
-
var
|
|
3224
|
+
var _this372 = this;
|
|
3205
3225
|
return _asyncToGenerator(function* () {
|
|
3206
3226
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3207
|
-
return
|
|
3227
|
+
return _this372.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3208
3228
|
})();
|
|
3209
3229
|
}
|
|
3210
3230
|
create_sql_interface_query(body, options) {
|
|
3211
|
-
var
|
|
3231
|
+
var _this373 = this;
|
|
3212
3232
|
return _asyncToGenerator(function* () {
|
|
3213
|
-
return
|
|
3233
|
+
return _this373.post('/sql_interface_queries', null, body, options);
|
|
3214
3234
|
})();
|
|
3215
3235
|
}
|
|
3216
3236
|
all_themes(fields, options) {
|
|
3217
|
-
var
|
|
3237
|
+
var _this374 = this;
|
|
3218
3238
|
return _asyncToGenerator(function* () {
|
|
3219
|
-
return
|
|
3239
|
+
return _this374.get('/themes', {
|
|
3220
3240
|
fields
|
|
3221
3241
|
}, null, options);
|
|
3222
3242
|
})();
|
|
3223
3243
|
}
|
|
3224
3244
|
create_theme(body, options) {
|
|
3225
|
-
var
|
|
3245
|
+
var _this375 = this;
|
|
3226
3246
|
return _asyncToGenerator(function* () {
|
|
3227
|
-
return
|
|
3247
|
+
return _this375.post('/themes', null, body, options);
|
|
3228
3248
|
})();
|
|
3229
3249
|
}
|
|
3230
3250
|
search_themes(request, options) {
|
|
3231
|
-
var
|
|
3251
|
+
var _this376 = this;
|
|
3232
3252
|
return _asyncToGenerator(function* () {
|
|
3233
|
-
return
|
|
3253
|
+
return _this376.get('/themes/search', {
|
|
3234
3254
|
id: request.id,
|
|
3235
3255
|
name: request.name,
|
|
3236
3256
|
begin_at: request.begin_at,
|
|
@@ -3244,25 +3264,25 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3244
3264
|
})();
|
|
3245
3265
|
}
|
|
3246
3266
|
default_theme(ts, options) {
|
|
3247
|
-
var
|
|
3267
|
+
var _this377 = this;
|
|
3248
3268
|
return _asyncToGenerator(function* () {
|
|
3249
|
-
return
|
|
3269
|
+
return _this377.get('/themes/default', {
|
|
3250
3270
|
ts
|
|
3251
3271
|
}, null, options);
|
|
3252
3272
|
})();
|
|
3253
3273
|
}
|
|
3254
3274
|
set_default_theme(name, options) {
|
|
3255
|
-
var
|
|
3275
|
+
var _this378 = this;
|
|
3256
3276
|
return _asyncToGenerator(function* () {
|
|
3257
|
-
return
|
|
3277
|
+
return _this378.put('/themes/default', {
|
|
3258
3278
|
name
|
|
3259
3279
|
}, null, options);
|
|
3260
3280
|
})();
|
|
3261
3281
|
}
|
|
3262
3282
|
active_themes(request, options) {
|
|
3263
|
-
var
|
|
3283
|
+
var _this379 = this;
|
|
3264
3284
|
return _asyncToGenerator(function* () {
|
|
3265
|
-
return
|
|
3285
|
+
return _this379.get('/themes/active', {
|
|
3266
3286
|
name: request.name,
|
|
3267
3287
|
ts: request.ts,
|
|
3268
3288
|
fields: request.fields
|
|
@@ -3270,47 +3290,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3270
3290
|
})();
|
|
3271
3291
|
}
|
|
3272
3292
|
theme_or_default(name, ts, options) {
|
|
3273
|
-
var
|
|
3293
|
+
var _this380 = this;
|
|
3274
3294
|
return _asyncToGenerator(function* () {
|
|
3275
|
-
return
|
|
3295
|
+
return _this380.get('/themes/theme_or_default', {
|
|
3276
3296
|
name,
|
|
3277
3297
|
ts
|
|
3278
3298
|
}, null, options);
|
|
3279
3299
|
})();
|
|
3280
3300
|
}
|
|
3281
3301
|
validate_theme(body, options) {
|
|
3282
|
-
var
|
|
3302
|
+
var _this381 = this;
|
|
3283
3303
|
return _asyncToGenerator(function* () {
|
|
3284
|
-
return
|
|
3304
|
+
return _this381.post('/themes/validate', null, body, options);
|
|
3285
3305
|
})();
|
|
3286
3306
|
}
|
|
3287
3307
|
theme(theme_id, fields, options) {
|
|
3288
|
-
var
|
|
3308
|
+
var _this382 = this;
|
|
3289
3309
|
return _asyncToGenerator(function* () {
|
|
3290
3310
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3291
|
-
return
|
|
3311
|
+
return _this382.get("/themes/".concat(theme_id), {
|
|
3292
3312
|
fields
|
|
3293
3313
|
}, null, options);
|
|
3294
3314
|
})();
|
|
3295
3315
|
}
|
|
3296
3316
|
update_theme(theme_id, body, options) {
|
|
3297
|
-
var
|
|
3317
|
+
var _this383 = this;
|
|
3298
3318
|
return _asyncToGenerator(function* () {
|
|
3299
3319
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3300
|
-
return
|
|
3320
|
+
return _this383.patch("/themes/".concat(theme_id), null, body, options);
|
|
3301
3321
|
})();
|
|
3302
3322
|
}
|
|
3303
3323
|
delete_theme(theme_id, options) {
|
|
3304
|
-
var
|
|
3324
|
+
var _this384 = this;
|
|
3305
3325
|
return _asyncToGenerator(function* () {
|
|
3306
3326
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3307
|
-
return
|
|
3327
|
+
return _this384.delete("/themes/".concat(theme_id), null, null, options);
|
|
3308
3328
|
})();
|
|
3309
3329
|
}
|
|
3310
3330
|
search_credentials_email(request, options) {
|
|
3311
|
-
var
|
|
3331
|
+
var _this385 = this;
|
|
3312
3332
|
return _asyncToGenerator(function* () {
|
|
3313
|
-
return
|
|
3333
|
+
return _this385.get('/credentials_email/search', {
|
|
3314
3334
|
fields: request.fields,
|
|
3315
3335
|
limit: request.limit,
|
|
3316
3336
|
offset: request.offset,
|
|
@@ -3323,17 +3343,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3323
3343
|
})();
|
|
3324
3344
|
}
|
|
3325
3345
|
me(fields, options) {
|
|
3326
|
-
var
|
|
3346
|
+
var _this386 = this;
|
|
3327
3347
|
return _asyncToGenerator(function* () {
|
|
3328
|
-
return
|
|
3348
|
+
return _this386.get('/user', {
|
|
3329
3349
|
fields
|
|
3330
3350
|
}, null, options);
|
|
3331
3351
|
})();
|
|
3332
3352
|
}
|
|
3333
3353
|
all_users(request, options) {
|
|
3334
|
-
var
|
|
3354
|
+
var _this387 = this;
|
|
3335
3355
|
return _asyncToGenerator(function* () {
|
|
3336
|
-
return
|
|
3356
|
+
return _this387.get('/users', {
|
|
3337
3357
|
fields: request.fields,
|
|
3338
3358
|
page: request.page,
|
|
3339
3359
|
per_page: request.per_page,
|
|
@@ -3345,17 +3365,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3345
3365
|
})();
|
|
3346
3366
|
}
|
|
3347
3367
|
create_user(body, fields, options) {
|
|
3348
|
-
var
|
|
3368
|
+
var _this388 = this;
|
|
3349
3369
|
return _asyncToGenerator(function* () {
|
|
3350
|
-
return
|
|
3370
|
+
return _this388.post('/users', {
|
|
3351
3371
|
fields
|
|
3352
3372
|
}, body, options);
|
|
3353
3373
|
})();
|
|
3354
3374
|
}
|
|
3355
3375
|
search_users(request, options) {
|
|
3356
|
-
var
|
|
3376
|
+
var _this389 = this;
|
|
3357
3377
|
return _asyncToGenerator(function* () {
|
|
3358
|
-
return
|
|
3378
|
+
return _this389.get('/users/search', {
|
|
3359
3379
|
fields: request.fields,
|
|
3360
3380
|
page: request.page,
|
|
3361
3381
|
per_page: request.per_page,
|
|
@@ -3376,10 +3396,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3376
3396
|
})();
|
|
3377
3397
|
}
|
|
3378
3398
|
search_users_names(request, options) {
|
|
3379
|
-
var
|
|
3399
|
+
var _this390 = this;
|
|
3380
3400
|
return _asyncToGenerator(function* () {
|
|
3381
3401
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3382
|
-
return
|
|
3402
|
+
return _this390.get("/users/search/names/".concat(request.pattern), {
|
|
3383
3403
|
fields: request.fields,
|
|
3384
3404
|
page: request.page,
|
|
3385
3405
|
per_page: request.per_page,
|
|
@@ -3396,303 +3416,303 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3396
3416
|
})();
|
|
3397
3417
|
}
|
|
3398
3418
|
user(user_id, fields, options) {
|
|
3399
|
-
var
|
|
3419
|
+
var _this391 = this;
|
|
3400
3420
|
return _asyncToGenerator(function* () {
|
|
3401
3421
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3402
|
-
return
|
|
3422
|
+
return _this391.get("/users/".concat(user_id), {
|
|
3403
3423
|
fields
|
|
3404
3424
|
}, null, options);
|
|
3405
3425
|
})();
|
|
3406
3426
|
}
|
|
3407
3427
|
update_user(user_id, body, fields, options) {
|
|
3408
|
-
var
|
|
3428
|
+
var _this392 = this;
|
|
3409
3429
|
return _asyncToGenerator(function* () {
|
|
3410
3430
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3411
|
-
return
|
|
3431
|
+
return _this392.patch("/users/".concat(user_id), {
|
|
3412
3432
|
fields
|
|
3413
3433
|
}, body, options);
|
|
3414
3434
|
})();
|
|
3415
3435
|
}
|
|
3416
3436
|
delete_user(user_id, options) {
|
|
3417
|
-
var
|
|
3437
|
+
var _this393 = this;
|
|
3418
3438
|
return _asyncToGenerator(function* () {
|
|
3419
3439
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3420
|
-
return
|
|
3440
|
+
return _this393.delete("/users/".concat(user_id), null, null, options);
|
|
3421
3441
|
})();
|
|
3422
3442
|
}
|
|
3423
3443
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3424
|
-
var
|
|
3444
|
+
var _this394 = this;
|
|
3425
3445
|
return _asyncToGenerator(function* () {
|
|
3426
3446
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3427
3447
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3428
|
-
return
|
|
3448
|
+
return _this394.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3429
3449
|
fields
|
|
3430
3450
|
}, null, options);
|
|
3431
3451
|
})();
|
|
3432
3452
|
}
|
|
3433
3453
|
user_credentials_email(user_id, fields, options) {
|
|
3434
|
-
var
|
|
3454
|
+
var _this395 = this;
|
|
3435
3455
|
return _asyncToGenerator(function* () {
|
|
3436
3456
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3437
|
-
return
|
|
3457
|
+
return _this395.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3438
3458
|
fields
|
|
3439
3459
|
}, null, options);
|
|
3440
3460
|
})();
|
|
3441
3461
|
}
|
|
3442
3462
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3443
|
-
var
|
|
3463
|
+
var _this396 = this;
|
|
3444
3464
|
return _asyncToGenerator(function* () {
|
|
3445
3465
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3446
|
-
return
|
|
3466
|
+
return _this396.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3447
3467
|
fields
|
|
3448
3468
|
}, body, options);
|
|
3449
3469
|
})();
|
|
3450
3470
|
}
|
|
3451
3471
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3452
|
-
var
|
|
3472
|
+
var _this397 = this;
|
|
3453
3473
|
return _asyncToGenerator(function* () {
|
|
3454
3474
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3455
|
-
return
|
|
3475
|
+
return _this397.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3456
3476
|
fields
|
|
3457
3477
|
}, body, options);
|
|
3458
3478
|
})();
|
|
3459
3479
|
}
|
|
3460
3480
|
delete_user_credentials_email(user_id, options) {
|
|
3461
|
-
var
|
|
3481
|
+
var _this398 = this;
|
|
3462
3482
|
return _asyncToGenerator(function* () {
|
|
3463
3483
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3464
|
-
return
|
|
3484
|
+
return _this398.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3465
3485
|
})();
|
|
3466
3486
|
}
|
|
3467
3487
|
user_credentials_totp(user_id, fields, options) {
|
|
3468
|
-
var
|
|
3488
|
+
var _this399 = this;
|
|
3469
3489
|
return _asyncToGenerator(function* () {
|
|
3470
3490
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3471
|
-
return
|
|
3491
|
+
return _this399.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3472
3492
|
fields
|
|
3473
3493
|
}, null, options);
|
|
3474
3494
|
})();
|
|
3475
3495
|
}
|
|
3476
3496
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3477
|
-
var
|
|
3497
|
+
var _this400 = this;
|
|
3478
3498
|
return _asyncToGenerator(function* () {
|
|
3479
3499
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3480
|
-
return
|
|
3500
|
+
return _this400.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3481
3501
|
fields
|
|
3482
3502
|
}, body, options);
|
|
3483
3503
|
})();
|
|
3484
3504
|
}
|
|
3485
3505
|
delete_user_credentials_totp(user_id, options) {
|
|
3486
|
-
var
|
|
3506
|
+
var _this401 = this;
|
|
3487
3507
|
return _asyncToGenerator(function* () {
|
|
3488
3508
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3489
|
-
return
|
|
3509
|
+
return _this401.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3490
3510
|
})();
|
|
3491
3511
|
}
|
|
3492
3512
|
user_credentials_ldap(user_id, fields, options) {
|
|
3493
|
-
var
|
|
3513
|
+
var _this402 = this;
|
|
3494
3514
|
return _asyncToGenerator(function* () {
|
|
3495
3515
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3496
|
-
return
|
|
3516
|
+
return _this402.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3497
3517
|
fields
|
|
3498
3518
|
}, null, options);
|
|
3499
3519
|
})();
|
|
3500
3520
|
}
|
|
3501
3521
|
delete_user_credentials_ldap(user_id, options) {
|
|
3502
|
-
var
|
|
3522
|
+
var _this403 = this;
|
|
3503
3523
|
return _asyncToGenerator(function* () {
|
|
3504
3524
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3505
|
-
return
|
|
3525
|
+
return _this403.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3506
3526
|
})();
|
|
3507
3527
|
}
|
|
3508
3528
|
user_credentials_google(user_id, fields, options) {
|
|
3509
|
-
var
|
|
3529
|
+
var _this404 = this;
|
|
3510
3530
|
return _asyncToGenerator(function* () {
|
|
3511
3531
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3512
|
-
return
|
|
3532
|
+
return _this404.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3513
3533
|
fields
|
|
3514
3534
|
}, null, options);
|
|
3515
3535
|
})();
|
|
3516
3536
|
}
|
|
3517
3537
|
delete_user_credentials_google(user_id, options) {
|
|
3518
|
-
var
|
|
3538
|
+
var _this405 = this;
|
|
3519
3539
|
return _asyncToGenerator(function* () {
|
|
3520
3540
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3521
|
-
return
|
|
3541
|
+
return _this405.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3522
3542
|
})();
|
|
3523
3543
|
}
|
|
3524
3544
|
user_credentials_saml(user_id, fields, options) {
|
|
3525
|
-
var
|
|
3545
|
+
var _this406 = this;
|
|
3526
3546
|
return _asyncToGenerator(function* () {
|
|
3527
3547
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3528
|
-
return
|
|
3548
|
+
return _this406.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3529
3549
|
fields
|
|
3530
3550
|
}, null, options);
|
|
3531
3551
|
})();
|
|
3532
3552
|
}
|
|
3533
3553
|
delete_user_credentials_saml(user_id, options) {
|
|
3534
|
-
var
|
|
3554
|
+
var _this407 = this;
|
|
3535
3555
|
return _asyncToGenerator(function* () {
|
|
3536
3556
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3537
|
-
return
|
|
3557
|
+
return _this407.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3538
3558
|
})();
|
|
3539
3559
|
}
|
|
3540
3560
|
user_credentials_oidc(user_id, fields, options) {
|
|
3541
|
-
var
|
|
3561
|
+
var _this408 = this;
|
|
3542
3562
|
return _asyncToGenerator(function* () {
|
|
3543
3563
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3544
|
-
return
|
|
3564
|
+
return _this408.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3545
3565
|
fields
|
|
3546
3566
|
}, null, options);
|
|
3547
3567
|
})();
|
|
3548
3568
|
}
|
|
3549
3569
|
delete_user_credentials_oidc(user_id, options) {
|
|
3550
|
-
var
|
|
3570
|
+
var _this409 = this;
|
|
3551
3571
|
return _asyncToGenerator(function* () {
|
|
3552
3572
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3553
|
-
return
|
|
3573
|
+
return _this409.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3554
3574
|
})();
|
|
3555
3575
|
}
|
|
3556
3576
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3557
|
-
var
|
|
3577
|
+
var _this410 = this;
|
|
3558
3578
|
return _asyncToGenerator(function* () {
|
|
3559
3579
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3560
3580
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3561
|
-
return
|
|
3581
|
+
return _this410.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3562
3582
|
fields
|
|
3563
3583
|
}, null, options);
|
|
3564
3584
|
})();
|
|
3565
3585
|
}
|
|
3566
3586
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3567
|
-
var
|
|
3587
|
+
var _this411 = this;
|
|
3568
3588
|
return _asyncToGenerator(function* () {
|
|
3569
3589
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3570
3590
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3571
|
-
return
|
|
3591
|
+
return _this411.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3572
3592
|
})();
|
|
3573
3593
|
}
|
|
3574
3594
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3575
|
-
var
|
|
3595
|
+
var _this412 = this;
|
|
3576
3596
|
return _asyncToGenerator(function* () {
|
|
3577
3597
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3578
|
-
return
|
|
3598
|
+
return _this412.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3579
3599
|
fields
|
|
3580
3600
|
}, null, options);
|
|
3581
3601
|
})();
|
|
3582
3602
|
}
|
|
3583
3603
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3584
|
-
var
|
|
3604
|
+
var _this413 = this;
|
|
3585
3605
|
return _asyncToGenerator(function* () {
|
|
3586
3606
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3587
|
-
return
|
|
3607
|
+
return _this413.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3588
3608
|
fields
|
|
3589
3609
|
}, null, options);
|
|
3590
3610
|
})();
|
|
3591
3611
|
}
|
|
3592
3612
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3593
|
-
var
|
|
3613
|
+
var _this414 = this;
|
|
3594
3614
|
return _asyncToGenerator(function* () {
|
|
3595
3615
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3596
3616
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3597
|
-
return
|
|
3617
|
+
return _this414.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3598
3618
|
fields
|
|
3599
3619
|
}, null, options);
|
|
3600
3620
|
})();
|
|
3601
3621
|
}
|
|
3602
3622
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3603
|
-
var
|
|
3623
|
+
var _this415 = this;
|
|
3604
3624
|
return _asyncToGenerator(function* () {
|
|
3605
3625
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3606
3626
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3607
|
-
return
|
|
3627
|
+
return _this415.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3608
3628
|
})();
|
|
3609
3629
|
}
|
|
3610
3630
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3611
|
-
var
|
|
3631
|
+
var _this416 = this;
|
|
3612
3632
|
return _asyncToGenerator(function* () {
|
|
3613
3633
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3614
|
-
return
|
|
3634
|
+
return _this416.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3615
3635
|
fields
|
|
3616
3636
|
}, null, options);
|
|
3617
3637
|
})();
|
|
3618
3638
|
}
|
|
3619
3639
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3620
|
-
var
|
|
3640
|
+
var _this417 = this;
|
|
3621
3641
|
return _asyncToGenerator(function* () {
|
|
3622
3642
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3623
|
-
return
|
|
3643
|
+
return _this417.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3624
3644
|
fields
|
|
3625
3645
|
}, null, options);
|
|
3626
3646
|
})();
|
|
3627
3647
|
}
|
|
3628
3648
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3629
|
-
var
|
|
3649
|
+
var _this418 = this;
|
|
3630
3650
|
return _asyncToGenerator(function* () {
|
|
3631
3651
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3632
|
-
return
|
|
3652
|
+
return _this418.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3633
3653
|
})();
|
|
3634
3654
|
}
|
|
3635
3655
|
user_session(user_id, session_id, fields, options) {
|
|
3636
|
-
var
|
|
3656
|
+
var _this419 = this;
|
|
3637
3657
|
return _asyncToGenerator(function* () {
|
|
3638
3658
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3639
3659
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3640
|
-
return
|
|
3660
|
+
return _this419.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3641
3661
|
fields
|
|
3642
3662
|
}, null, options);
|
|
3643
3663
|
})();
|
|
3644
3664
|
}
|
|
3645
3665
|
delete_user_session(user_id, session_id, options) {
|
|
3646
|
-
var
|
|
3666
|
+
var _this420 = this;
|
|
3647
3667
|
return _asyncToGenerator(function* () {
|
|
3648
3668
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3649
3669
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3650
|
-
return
|
|
3670
|
+
return _this420.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3651
3671
|
})();
|
|
3652
3672
|
}
|
|
3653
3673
|
all_user_sessions(user_id, fields, options) {
|
|
3654
|
-
var
|
|
3674
|
+
var _this421 = this;
|
|
3655
3675
|
return _asyncToGenerator(function* () {
|
|
3656
3676
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3657
|
-
return
|
|
3677
|
+
return _this421.get("/users/".concat(user_id, "/sessions"), {
|
|
3658
3678
|
fields
|
|
3659
3679
|
}, null, options);
|
|
3660
3680
|
})();
|
|
3661
3681
|
}
|
|
3662
3682
|
create_user_credentials_email_password_reset(request, options) {
|
|
3663
|
-
var
|
|
3683
|
+
var _this422 = this;
|
|
3664
3684
|
return _asyncToGenerator(function* () {
|
|
3665
3685
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3666
|
-
return
|
|
3686
|
+
return _this422.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3667
3687
|
expires: request.expires,
|
|
3668
3688
|
fields: request.fields
|
|
3669
3689
|
}, null, options);
|
|
3670
3690
|
})();
|
|
3671
3691
|
}
|
|
3672
3692
|
user_roles(request, options) {
|
|
3673
|
-
var
|
|
3693
|
+
var _this423 = this;
|
|
3674
3694
|
return _asyncToGenerator(function* () {
|
|
3675
3695
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3676
|
-
return
|
|
3696
|
+
return _this423.get("/users/".concat(request.user_id, "/roles"), {
|
|
3677
3697
|
fields: request.fields,
|
|
3678
3698
|
direct_association_only: request.direct_association_only
|
|
3679
3699
|
}, null, options);
|
|
3680
3700
|
})();
|
|
3681
3701
|
}
|
|
3682
3702
|
set_user_roles(user_id, body, fields, options) {
|
|
3683
|
-
var
|
|
3703
|
+
var _this424 = this;
|
|
3684
3704
|
return _asyncToGenerator(function* () {
|
|
3685
3705
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3686
|
-
return
|
|
3706
|
+
return _this424.put("/users/".concat(user_id, "/roles"), {
|
|
3687
3707
|
fields
|
|
3688
3708
|
}, body, options);
|
|
3689
3709
|
})();
|
|
3690
3710
|
}
|
|
3691
3711
|
user_attribute_user_values(request, options) {
|
|
3692
|
-
var
|
|
3712
|
+
var _this425 = this;
|
|
3693
3713
|
return _asyncToGenerator(function* () {
|
|
3694
3714
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3695
|
-
return
|
|
3715
|
+
return _this425.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3696
3716
|
fields: request.fields,
|
|
3697
3717
|
user_attribute_ids: request.user_attribute_ids,
|
|
3698
3718
|
all_values: request.all_values,
|
|
@@ -3701,114 +3721,114 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3701
3721
|
})();
|
|
3702
3722
|
}
|
|
3703
3723
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3704
|
-
var
|
|
3724
|
+
var _this426 = this;
|
|
3705
3725
|
return _asyncToGenerator(function* () {
|
|
3706
3726
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3707
3727
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3708
|
-
return
|
|
3728
|
+
return _this426.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3709
3729
|
})();
|
|
3710
3730
|
}
|
|
3711
3731
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3712
|
-
var
|
|
3732
|
+
var _this427 = this;
|
|
3713
3733
|
return _asyncToGenerator(function* () {
|
|
3714
3734
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3715
3735
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3716
|
-
return
|
|
3736
|
+
return _this427.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3717
3737
|
})();
|
|
3718
3738
|
}
|
|
3719
3739
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3720
|
-
var
|
|
3740
|
+
var _this428 = this;
|
|
3721
3741
|
return _asyncToGenerator(function* () {
|
|
3722
3742
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3723
|
-
return
|
|
3743
|
+
return _this428.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3724
3744
|
fields
|
|
3725
3745
|
}, null, options);
|
|
3726
3746
|
})();
|
|
3727
3747
|
}
|
|
3728
3748
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3729
|
-
var
|
|
3749
|
+
var _this429 = this;
|
|
3730
3750
|
return _asyncToGenerator(function* () {
|
|
3731
3751
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3732
|
-
return
|
|
3752
|
+
return _this429.post("/users/".concat(user_id, "/update_emails"), {
|
|
3733
3753
|
fields
|
|
3734
3754
|
}, body, options);
|
|
3735
3755
|
})();
|
|
3736
3756
|
}
|
|
3737
3757
|
create_embed_user(body, options) {
|
|
3738
|
-
var
|
|
3758
|
+
var _this430 = this;
|
|
3739
3759
|
return _asyncToGenerator(function* () {
|
|
3740
|
-
return
|
|
3760
|
+
return _this430.post('/users/embed_user', null, body, options);
|
|
3741
3761
|
})();
|
|
3742
3762
|
}
|
|
3743
3763
|
all_user_attributes(request, options) {
|
|
3744
|
-
var
|
|
3764
|
+
var _this431 = this;
|
|
3745
3765
|
return _asyncToGenerator(function* () {
|
|
3746
|
-
return
|
|
3766
|
+
return _this431.get('/user_attributes', {
|
|
3747
3767
|
fields: request.fields,
|
|
3748
3768
|
sorts: request.sorts
|
|
3749
3769
|
}, null, options);
|
|
3750
3770
|
})();
|
|
3751
3771
|
}
|
|
3752
3772
|
create_user_attribute(body, fields, options) {
|
|
3753
|
-
var
|
|
3773
|
+
var _this432 = this;
|
|
3754
3774
|
return _asyncToGenerator(function* () {
|
|
3755
|
-
return
|
|
3775
|
+
return _this432.post('/user_attributes', {
|
|
3756
3776
|
fields
|
|
3757
3777
|
}, body, options);
|
|
3758
3778
|
})();
|
|
3759
3779
|
}
|
|
3760
3780
|
user_attribute(user_attribute_id, fields, options) {
|
|
3761
|
-
var
|
|
3781
|
+
var _this433 = this;
|
|
3762
3782
|
return _asyncToGenerator(function* () {
|
|
3763
3783
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3764
|
-
return
|
|
3784
|
+
return _this433.get("/user_attributes/".concat(user_attribute_id), {
|
|
3765
3785
|
fields
|
|
3766
3786
|
}, null, options);
|
|
3767
3787
|
})();
|
|
3768
3788
|
}
|
|
3769
3789
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3770
|
-
var
|
|
3790
|
+
var _this434 = this;
|
|
3771
3791
|
return _asyncToGenerator(function* () {
|
|
3772
3792
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3773
|
-
return
|
|
3793
|
+
return _this434.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3774
3794
|
fields
|
|
3775
3795
|
}, body, options);
|
|
3776
3796
|
})();
|
|
3777
3797
|
}
|
|
3778
3798
|
delete_user_attribute(user_attribute_id, options) {
|
|
3779
|
-
var
|
|
3799
|
+
var _this435 = this;
|
|
3780
3800
|
return _asyncToGenerator(function* () {
|
|
3781
3801
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3782
|
-
return
|
|
3802
|
+
return _this435.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3783
3803
|
})();
|
|
3784
3804
|
}
|
|
3785
3805
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3786
|
-
var
|
|
3806
|
+
var _this436 = this;
|
|
3787
3807
|
return _asyncToGenerator(function* () {
|
|
3788
3808
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3789
|
-
return
|
|
3809
|
+
return _this436.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3790
3810
|
fields
|
|
3791
3811
|
}, null, options);
|
|
3792
3812
|
})();
|
|
3793
3813
|
}
|
|
3794
3814
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3795
|
-
var
|
|
3815
|
+
var _this437 = this;
|
|
3796
3816
|
return _asyncToGenerator(function* () {
|
|
3797
3817
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3798
|
-
return
|
|
3818
|
+
return _this437.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3799
3819
|
})();
|
|
3800
3820
|
}
|
|
3801
3821
|
all_workspaces(options) {
|
|
3802
|
-
var
|
|
3822
|
+
var _this438 = this;
|
|
3803
3823
|
return _asyncToGenerator(function* () {
|
|
3804
|
-
return
|
|
3824
|
+
return _this438.get('/workspaces', null, null, options);
|
|
3805
3825
|
})();
|
|
3806
3826
|
}
|
|
3807
3827
|
workspace(workspace_id, options) {
|
|
3808
|
-
var
|
|
3828
|
+
var _this439 = this;
|
|
3809
3829
|
return _asyncToGenerator(function* () {
|
|
3810
3830
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3811
|
-
return
|
|
3831
|
+
return _this439.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3812
3832
|
})();
|
|
3813
3833
|
}
|
|
3814
3834
|
}
|