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