@looker/sdk 25.4.0 → 25.6.0

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