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