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