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