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