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