@looker/sdk 26.10.0 → 26.12.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.
@@ -2870,33 +2870,56 @@ export class Looker40SDK extends APIMethods {
2870
2870
  }, request.body, options);
2871
2871
  })();
2872
2872
  }
2873
- update_repository_credential(root_project_id, credential_id, body, options) {
2873
+ create_git_diagnostic_report(project_id, body, options) {
2874
2874
  var _this336 = this;
2875
+ return _asyncToGenerator(function* () {
2876
+ project_id = encodeParam(project_id);
2877
+ return _this336.post("/projects/".concat(project_id, "/git_diagnostic_report"), null, body, options);
2878
+ })();
2879
+ }
2880
+ get_git_diagnostic_report(project_id, report_id, options) {
2881
+ var _this337 = this;
2882
+ return _asyncToGenerator(function* () {
2883
+ project_id = encodeParam(project_id);
2884
+ report_id = encodeParam(report_id);
2885
+ return _this337.get("/projects/".concat(project_id, "/git_diagnostic_report/").concat(report_id), null, null, options);
2886
+ })();
2887
+ }
2888
+ repair_git_diagnostic_report(project_id, report_id, body, options) {
2889
+ var _this338 = this;
2890
+ return _asyncToGenerator(function* () {
2891
+ project_id = encodeParam(project_id);
2892
+ report_id = encodeParam(report_id);
2893
+ return _this338.post("/projects/".concat(project_id, "/git_diagnostic_report/").concat(report_id, "/repair"), null, body, options);
2894
+ })();
2895
+ }
2896
+ update_repository_credential(root_project_id, credential_id, body, options) {
2897
+ var _this339 = this;
2875
2898
  return _asyncToGenerator(function* () {
2876
2899
  root_project_id = encodeParam(root_project_id);
2877
2900
  credential_id = encodeParam(credential_id);
2878
- return _this336.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
2901
+ return _this339.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
2879
2902
  })();
2880
2903
  }
2881
2904
  delete_repository_credential(root_project_id, credential_id, options) {
2882
- var _this337 = this;
2905
+ var _this340 = this;
2883
2906
  return _asyncToGenerator(function* () {
2884
2907
  root_project_id = encodeParam(root_project_id);
2885
2908
  credential_id = encodeParam(credential_id);
2886
- return _this337.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
2909
+ return _this340.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
2887
2910
  })();
2888
2911
  }
2889
2912
  get_all_repository_credentials(root_project_id, options) {
2890
- var _this338 = this;
2913
+ var _this341 = this;
2891
2914
  return _asyncToGenerator(function* () {
2892
2915
  root_project_id = encodeParam(root_project_id);
2893
- return _this338.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
2916
+ return _this341.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
2894
2917
  })();
2895
2918
  }
2896
2919
  create_query_task(request, options) {
2897
- var _this339 = this;
2920
+ var _this342 = this;
2898
2921
  return _asyncToGenerator(function* () {
2899
- return _this339.post('/query_tasks', {
2922
+ return _this342.post('/query_tasks', {
2900
2923
  limit: request.limit,
2901
2924
  apply_formatting: request.apply_formatting,
2902
2925
  apply_vis: request.apply_vis,
@@ -2912,61 +2935,61 @@ export class Looker40SDK extends APIMethods {
2912
2935
  })();
2913
2936
  }
2914
2937
  query_task_multi_results(query_task_ids, options) {
2915
- var _this340 = this;
2938
+ var _this343 = this;
2916
2939
  return _asyncToGenerator(function* () {
2917
- return _this340.get('/query_tasks/multi_results', {
2940
+ return _this343.get('/query_tasks/multi_results', {
2918
2941
  query_task_ids
2919
2942
  }, null, options);
2920
2943
  })();
2921
2944
  }
2922
2945
  query_task(query_task_id, fields, options) {
2923
- var _this341 = this;
2946
+ var _this344 = this;
2924
2947
  return _asyncToGenerator(function* () {
2925
2948
  query_task_id = encodeParam(query_task_id);
2926
- return _this341.get("/query_tasks/".concat(query_task_id), {
2949
+ return _this344.get("/query_tasks/".concat(query_task_id), {
2927
2950
  fields
2928
2951
  }, null, options);
2929
2952
  })();
2930
2953
  }
2931
2954
  query_task_results(query_task_id, options) {
2932
- var _this342 = this;
2955
+ var _this345 = this;
2933
2956
  return _asyncToGenerator(function* () {
2934
2957
  query_task_id = encodeParam(query_task_id);
2935
- return _this342.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
2958
+ return _this345.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
2936
2959
  })();
2937
2960
  }
2938
2961
  query(query_id, fields, options) {
2939
- var _this343 = this;
2962
+ var _this346 = this;
2940
2963
  return _asyncToGenerator(function* () {
2941
2964
  query_id = encodeParam(query_id);
2942
- return _this343.get("/queries/".concat(query_id), {
2965
+ return _this346.get("/queries/".concat(query_id), {
2943
2966
  fields
2944
2967
  }, null, options);
2945
2968
  })();
2946
2969
  }
2947
2970
  query_for_slug(slug, fields, options) {
2948
- var _this344 = this;
2971
+ var _this347 = this;
2949
2972
  return _asyncToGenerator(function* () {
2950
2973
  slug = encodeParam(slug);
2951
- return _this344.get("/queries/slug/".concat(slug), {
2974
+ return _this347.get("/queries/slug/".concat(slug), {
2952
2975
  fields
2953
2976
  }, null, options);
2954
2977
  })();
2955
2978
  }
2956
2979
  create_query(body, fields, options) {
2957
- var _this345 = this;
2980
+ var _this348 = this;
2958
2981
  return _asyncToGenerator(function* () {
2959
- return _this345.post('/queries', {
2982
+ return _this348.post('/queries', {
2960
2983
  fields
2961
2984
  }, body, options);
2962
2985
  })();
2963
2986
  }
2964
2987
  run_query(request, options) {
2965
- var _this346 = this;
2988
+ var _this349 = this;
2966
2989
  return _asyncToGenerator(function* () {
2967
2990
  request.query_id = encodeParam(request.query_id);
2968
2991
  request.result_format = encodeParam(request.result_format);
2969
- return _this346.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
2992
+ return _this349.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
2970
2993
  limit: request.limit,
2971
2994
  apply_formatting: request.apply_formatting,
2972
2995
  apply_vis: request.apply_vis,
@@ -2983,10 +3006,10 @@ export class Looker40SDK extends APIMethods {
2983
3006
  })();
2984
3007
  }
2985
3008
  run_inline_query(request, options) {
2986
- var _this347 = this;
3009
+ var _this350 = this;
2987
3010
  return _asyncToGenerator(function* () {
2988
3011
  request.result_format = encodeParam(request.result_format);
2989
- return _this347.post("/queries/run/".concat(request.result_format), {
3012
+ return _this350.post("/queries/run/".concat(request.result_format), {
2990
3013
  limit: request.limit,
2991
3014
  apply_formatting: request.apply_formatting,
2992
3015
  apply_vis: request.apply_vis,
@@ -3003,73 +3026,73 @@ export class Looker40SDK extends APIMethods {
3003
3026
  })();
3004
3027
  }
3005
3028
  run_url_encoded_query(model_name, view_name, result_format, options) {
3006
- var _this348 = this;
3029
+ var _this351 = this;
3007
3030
  return _asyncToGenerator(function* () {
3008
3031
  model_name = encodeParam(model_name);
3009
3032
  view_name = encodeParam(view_name);
3010
3033
  result_format = encodeParam(result_format);
3011
- return _this348.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
3034
+ return _this351.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
3012
3035
  })();
3013
3036
  }
3014
3037
  merge_query(merge_query_id, fields, options) {
3015
- var _this349 = this;
3038
+ var _this352 = this;
3016
3039
  return _asyncToGenerator(function* () {
3017
3040
  merge_query_id = encodeParam(merge_query_id);
3018
- return _this349.get("/merge_queries/".concat(merge_query_id), {
3041
+ return _this352.get("/merge_queries/".concat(merge_query_id), {
3019
3042
  fields
3020
3043
  }, null, options);
3021
3044
  })();
3022
3045
  }
3023
3046
  create_merge_query(body, fields, options) {
3024
- var _this350 = this;
3047
+ var _this353 = this;
3025
3048
  return _asyncToGenerator(function* () {
3026
- return _this350.post('/merge_queries', {
3049
+ return _this353.post('/merge_queries', {
3027
3050
  fields
3028
3051
  }, body, options);
3029
3052
  })();
3030
3053
  }
3031
3054
  all_running_queries(options) {
3032
- var _this351 = this;
3055
+ var _this354 = this;
3033
3056
  return _asyncToGenerator(function* () {
3034
- return _this351.get('/running_queries', null, null, options);
3057
+ return _this354.get('/running_queries', null, null, options);
3035
3058
  })();
3036
3059
  }
3037
3060
  kill_query(query_task_id, options) {
3038
- var _this352 = this;
3061
+ var _this355 = this;
3039
3062
  return _asyncToGenerator(function* () {
3040
3063
  query_task_id = encodeParam(query_task_id);
3041
- return _this352.delete("/running_queries/".concat(query_task_id), null, null, options);
3064
+ return _this355.delete("/running_queries/".concat(query_task_id), null, null, options);
3042
3065
  })();
3043
3066
  }
3044
3067
  create_sql_query(body, options) {
3045
- var _this353 = this;
3068
+ var _this356 = this;
3046
3069
  return _asyncToGenerator(function* () {
3047
- return _this353.post('/sql_queries', null, body, options);
3070
+ return _this356.post('/sql_queries', null, body, options);
3048
3071
  })();
3049
3072
  }
3050
3073
  sql_query(slug, options) {
3051
- var _this354 = this;
3074
+ var _this357 = this;
3052
3075
  return _asyncToGenerator(function* () {
3053
3076
  slug = encodeParam(slug);
3054
- return _this354.get("/sql_queries/".concat(slug), null, null, options);
3077
+ return _this357.get("/sql_queries/".concat(slug), null, null, options);
3055
3078
  })();
3056
3079
  }
3057
3080
  run_sql_query(slug, result_format, download, options) {
3058
- var _this355 = this;
3081
+ var _this358 = this;
3059
3082
  return _asyncToGenerator(function* () {
3060
3083
  slug = encodeParam(slug);
3061
3084
  result_format = encodeParam(result_format);
3062
- return _this355.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
3085
+ return _this358.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
3063
3086
  download
3064
3087
  }, null, options);
3065
3088
  })();
3066
3089
  }
3067
3090
  create_look_render_task(look_id, result_format, width, height, fields, options) {
3068
- var _this356 = this;
3091
+ var _this359 = this;
3069
3092
  return _asyncToGenerator(function* () {
3070
3093
  look_id = encodeParam(look_id);
3071
3094
  result_format = encodeParam(result_format);
3072
- return _this356.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
3095
+ return _this359.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
3073
3096
  width,
3074
3097
  height,
3075
3098
  fields
@@ -3077,11 +3100,11 @@ export class Looker40SDK extends APIMethods {
3077
3100
  })();
3078
3101
  }
3079
3102
  create_query_render_task(query_id, result_format, width, height, fields, options) {
3080
- var _this357 = this;
3103
+ var _this360 = this;
3081
3104
  return _asyncToGenerator(function* () {
3082
3105
  query_id = encodeParam(query_id);
3083
3106
  result_format = encodeParam(result_format);
3084
- return _this357.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
3107
+ return _this360.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
3085
3108
  width,
3086
3109
  height,
3087
3110
  fields
@@ -3089,11 +3112,11 @@ export class Looker40SDK extends APIMethods {
3089
3112
  })();
3090
3113
  }
3091
3114
  create_dashboard_render_task(request, options) {
3092
- var _this358 = this;
3115
+ var _this361 = this;
3093
3116
  return _asyncToGenerator(function* () {
3094
3117
  request.dashboard_id = encodeParam(request.dashboard_id);
3095
3118
  request.result_format = encodeParam(request.result_format);
3096
- return _this358.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
3119
+ return _this361.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
3097
3120
  width: request.width,
3098
3121
  height: request.height,
3099
3122
  fields: request.fields,
@@ -3105,27 +3128,27 @@ export class Looker40SDK extends APIMethods {
3105
3128
  })();
3106
3129
  }
3107
3130
  render_task(render_task_id, fields, options) {
3108
- var _this359 = this;
3131
+ var _this362 = this;
3109
3132
  return _asyncToGenerator(function* () {
3110
3133
  render_task_id = encodeParam(render_task_id);
3111
- return _this359.get("/render_tasks/".concat(render_task_id), {
3134
+ return _this362.get("/render_tasks/".concat(render_task_id), {
3112
3135
  fields
3113
3136
  }, null, options);
3114
3137
  })();
3115
3138
  }
3116
3139
  render_task_results(render_task_id, options) {
3117
- var _this360 = this;
3140
+ var _this363 = this;
3118
3141
  return _asyncToGenerator(function* () {
3119
3142
  render_task_id = encodeParam(render_task_id);
3120
- return _this360.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
3143
+ return _this363.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
3121
3144
  })();
3122
3145
  }
3123
3146
  create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
3124
- var _this361 = this;
3147
+ var _this364 = this;
3125
3148
  return _asyncToGenerator(function* () {
3126
3149
  dashboard_element_id = encodeParam(dashboard_element_id);
3127
3150
  result_format = encodeParam(result_format);
3128
- return _this361.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
3151
+ return _this364.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
3129
3152
  width,
3130
3153
  height,
3131
3154
  fields
@@ -3133,9 +3156,9 @@ export class Looker40SDK extends APIMethods {
3133
3156
  })();
3134
3157
  }
3135
3158
  search_reports(request, options) {
3136
- var _this362 = this;
3159
+ var _this365 = this;
3137
3160
  return _asyncToGenerator(function* () {
3138
- return _this362.get('/reports/search', {
3161
+ return _this365.get('/reports/search', {
3139
3162
  folder_id: request.folder_id,
3140
3163
  favorite: request.favorite,
3141
3164
  recent: request.recent,
@@ -3149,9 +3172,9 @@ export class Looker40SDK extends APIMethods {
3149
3172
  })();
3150
3173
  }
3151
3174
  search_model_sets(request, options) {
3152
- var _this363 = this;
3175
+ var _this366 = this;
3153
3176
  return _asyncToGenerator(function* () {
3154
- return _this363.get('/model_sets/search', {
3177
+ return _this366.get('/model_sets/search', {
3155
3178
  fields: request.fields,
3156
3179
  limit: request.limit,
3157
3180
  offset: request.offset,
@@ -3166,52 +3189,52 @@ export class Looker40SDK extends APIMethods {
3166
3189
  })();
3167
3190
  }
3168
3191
  model_set(model_set_id, fields, options) {
3169
- var _this364 = this;
3192
+ var _this367 = this;
3170
3193
  return _asyncToGenerator(function* () {
3171
3194
  model_set_id = encodeParam(model_set_id);
3172
- return _this364.get("/model_sets/".concat(model_set_id), {
3195
+ return _this367.get("/model_sets/".concat(model_set_id), {
3173
3196
  fields
3174
3197
  }, null, options);
3175
3198
  })();
3176
3199
  }
3177
3200
  update_model_set(model_set_id, body, options) {
3178
- var _this365 = this;
3201
+ var _this368 = this;
3179
3202
  return _asyncToGenerator(function* () {
3180
3203
  model_set_id = encodeParam(model_set_id);
3181
- return _this365.patch("/model_sets/".concat(model_set_id), null, body, options);
3204
+ return _this368.patch("/model_sets/".concat(model_set_id), null, body, options);
3182
3205
  })();
3183
3206
  }
3184
3207
  delete_model_set(model_set_id, options) {
3185
- var _this366 = this;
3208
+ var _this369 = this;
3186
3209
  return _asyncToGenerator(function* () {
3187
3210
  model_set_id = encodeParam(model_set_id);
3188
- return _this366.delete("/model_sets/".concat(model_set_id), null, null, options);
3211
+ return _this369.delete("/model_sets/".concat(model_set_id), null, null, options);
3189
3212
  })();
3190
3213
  }
3191
3214
  all_model_sets(fields, options) {
3192
- var _this367 = this;
3215
+ var _this370 = this;
3193
3216
  return _asyncToGenerator(function* () {
3194
- return _this367.get('/model_sets', {
3217
+ return _this370.get('/model_sets', {
3195
3218
  fields
3196
3219
  }, null, options);
3197
3220
  })();
3198
3221
  }
3199
3222
  create_model_set(body, options) {
3200
- var _this368 = this;
3223
+ var _this371 = this;
3201
3224
  return _asyncToGenerator(function* () {
3202
- return _this368.post('/model_sets', null, body, options);
3225
+ return _this371.post('/model_sets', null, body, options);
3203
3226
  })();
3204
3227
  }
3205
3228
  all_permissions(options) {
3206
- var _this369 = this;
3229
+ var _this372 = this;
3207
3230
  return _asyncToGenerator(function* () {
3208
- return _this369.get('/permissions', null, null, options);
3231
+ return _this372.get('/permissions', null, null, options);
3209
3232
  })();
3210
3233
  }
3211
3234
  search_permission_sets(request, options) {
3212
- var _this370 = this;
3235
+ var _this373 = this;
3213
3236
  return _asyncToGenerator(function* () {
3214
- return _this370.get('/permission_sets/search', {
3237
+ return _this373.get('/permission_sets/search', {
3215
3238
  fields: request.fields,
3216
3239
  limit: request.limit,
3217
3240
  offset: request.offset,
@@ -3226,46 +3249,46 @@ export class Looker40SDK extends APIMethods {
3226
3249
  })();
3227
3250
  }
3228
3251
  permission_set(permission_set_id, fields, options) {
3229
- var _this371 = this;
3252
+ var _this374 = this;
3230
3253
  return _asyncToGenerator(function* () {
3231
3254
  permission_set_id = encodeParam(permission_set_id);
3232
- return _this371.get("/permission_sets/".concat(permission_set_id), {
3255
+ return _this374.get("/permission_sets/".concat(permission_set_id), {
3233
3256
  fields
3234
3257
  }, null, options);
3235
3258
  })();
3236
3259
  }
3237
3260
  update_permission_set(permission_set_id, body, options) {
3238
- var _this372 = this;
3261
+ var _this375 = this;
3239
3262
  return _asyncToGenerator(function* () {
3240
3263
  permission_set_id = encodeParam(permission_set_id);
3241
- return _this372.patch("/permission_sets/".concat(permission_set_id), null, body, options);
3264
+ return _this375.patch("/permission_sets/".concat(permission_set_id), null, body, options);
3242
3265
  })();
3243
3266
  }
3244
3267
  delete_permission_set(permission_set_id, options) {
3245
- var _this373 = this;
3268
+ var _this376 = this;
3246
3269
  return _asyncToGenerator(function* () {
3247
3270
  permission_set_id = encodeParam(permission_set_id);
3248
- return _this373.delete("/permission_sets/".concat(permission_set_id), null, null, options);
3271
+ return _this376.delete("/permission_sets/".concat(permission_set_id), null, null, options);
3249
3272
  })();
3250
3273
  }
3251
3274
  all_permission_sets(fields, options) {
3252
- var _this374 = this;
3275
+ var _this377 = this;
3253
3276
  return _asyncToGenerator(function* () {
3254
- return _this374.get('/permission_sets', {
3277
+ return _this377.get('/permission_sets', {
3255
3278
  fields
3256
3279
  }, null, options);
3257
3280
  })();
3258
3281
  }
3259
3282
  create_permission_set(body, options) {
3260
- var _this375 = this;
3283
+ var _this378 = this;
3261
3284
  return _asyncToGenerator(function* () {
3262
- return _this375.post('/permission_sets', null, body, options);
3285
+ return _this378.post('/permission_sets', null, body, options);
3263
3286
  })();
3264
3287
  }
3265
3288
  all_roles(request, options) {
3266
- var _this376 = this;
3289
+ var _this379 = this;
3267
3290
  return _asyncToGenerator(function* () {
3268
- return _this376.get('/roles', {
3291
+ return _this379.get('/roles', {
3269
3292
  fields: request.fields,
3270
3293
  ids: request.ids,
3271
3294
  get_all_support_roles: request.get_all_support_roles
@@ -3273,15 +3296,15 @@ export class Looker40SDK extends APIMethods {
3273
3296
  })();
3274
3297
  }
3275
3298
  create_role(body, options) {
3276
- var _this377 = this;
3299
+ var _this380 = this;
3277
3300
  return _asyncToGenerator(function* () {
3278
- return _this377.post('/roles', null, body, options);
3301
+ return _this380.post('/roles', null, body, options);
3279
3302
  })();
3280
3303
  }
3281
3304
  search_roles(request, options) {
3282
- var _this378 = this;
3305
+ var _this381 = this;
3283
3306
  return _asyncToGenerator(function* () {
3284
- return _this378.get('/roles/search', {
3307
+ return _this381.get('/roles/search', {
3285
3308
  fields: request.fields,
3286
3309
  limit: request.limit,
3287
3310
  offset: request.offset,
@@ -3296,9 +3319,9 @@ export class Looker40SDK extends APIMethods {
3296
3319
  })();
3297
3320
  }
3298
3321
  search_roles_with_user_count(request, options) {
3299
- var _this379 = this;
3322
+ var _this382 = this;
3300
3323
  return _asyncToGenerator(function* () {
3301
- return _this379.get('/roles/search/with_user_count', {
3324
+ return _this382.get('/roles/search/with_user_count', {
3302
3325
  fields: request.fields,
3303
3326
  limit: request.limit,
3304
3327
  offset: request.offset,
@@ -3311,95 +3334,95 @@ export class Looker40SDK extends APIMethods {
3311
3334
  })();
3312
3335
  }
3313
3336
  role(role_id, options) {
3314
- var _this380 = this;
3337
+ var _this383 = this;
3315
3338
  return _asyncToGenerator(function* () {
3316
3339
  role_id = encodeParam(role_id);
3317
- return _this380.get("/roles/".concat(role_id), null, null, options);
3340
+ return _this383.get("/roles/".concat(role_id), null, null, options);
3318
3341
  })();
3319
3342
  }
3320
3343
  update_role(role_id, body, options) {
3321
- var _this381 = this;
3344
+ var _this384 = this;
3322
3345
  return _asyncToGenerator(function* () {
3323
3346
  role_id = encodeParam(role_id);
3324
- return _this381.patch("/roles/".concat(role_id), null, body, options);
3347
+ return _this384.patch("/roles/".concat(role_id), null, body, options);
3325
3348
  })();
3326
3349
  }
3327
3350
  delete_role(role_id, options) {
3328
- var _this382 = this;
3351
+ var _this385 = this;
3329
3352
  return _asyncToGenerator(function* () {
3330
3353
  role_id = encodeParam(role_id);
3331
- return _this382.delete("/roles/".concat(role_id), null, null, options);
3354
+ return _this385.delete("/roles/".concat(role_id), null, null, options);
3332
3355
  })();
3333
3356
  }
3334
3357
  role_groups(role_id, fields, options) {
3335
- var _this383 = this;
3358
+ var _this386 = this;
3336
3359
  return _asyncToGenerator(function* () {
3337
3360
  role_id = encodeParam(role_id);
3338
- return _this383.get("/roles/".concat(role_id, "/groups"), {
3361
+ return _this386.get("/roles/".concat(role_id, "/groups"), {
3339
3362
  fields
3340
3363
  }, null, options);
3341
3364
  })();
3342
3365
  }
3343
3366
  set_role_groups(role_id, body, options) {
3344
- var _this384 = this;
3367
+ var _this387 = this;
3345
3368
  return _asyncToGenerator(function* () {
3346
3369
  role_id = encodeParam(role_id);
3347
- return _this384.put("/roles/".concat(role_id, "/groups"), null, body, options);
3370
+ return _this387.put("/roles/".concat(role_id, "/groups"), null, body, options);
3348
3371
  })();
3349
3372
  }
3350
3373
  role_users(request, options) {
3351
- var _this385 = this;
3374
+ var _this388 = this;
3352
3375
  return _asyncToGenerator(function* () {
3353
3376
  request.role_id = encodeParam(request.role_id);
3354
- return _this385.get("/roles/".concat(request.role_id, "/users"), {
3377
+ return _this388.get("/roles/".concat(request.role_id, "/users"), {
3355
3378
  fields: request.fields,
3356
3379
  direct_association_only: request.direct_association_only
3357
3380
  }, null, options);
3358
3381
  })();
3359
3382
  }
3360
3383
  set_role_users(role_id, body, options) {
3361
- var _this386 = this;
3384
+ var _this389 = this;
3362
3385
  return _asyncToGenerator(function* () {
3363
3386
  role_id = encodeParam(role_id);
3364
- return _this386.put("/roles/".concat(role_id, "/users"), null, body, options);
3387
+ return _this389.put("/roles/".concat(role_id, "/users"), null, body, options);
3365
3388
  })();
3366
3389
  }
3367
3390
  scheduled_plans_for_space(space_id, fields, options) {
3368
- var _this387 = this;
3391
+ var _this390 = this;
3369
3392
  return _asyncToGenerator(function* () {
3370
3393
  space_id = encodeParam(space_id);
3371
- return _this387.get("/scheduled_plans/space/".concat(space_id), {
3394
+ return _this390.get("/scheduled_plans/space/".concat(space_id), {
3372
3395
  fields
3373
3396
  }, null, options);
3374
3397
  })();
3375
3398
  }
3376
3399
  scheduled_plan(scheduled_plan_id, fields, options) {
3377
- var _this388 = this;
3400
+ var _this391 = this;
3378
3401
  return _asyncToGenerator(function* () {
3379
3402
  scheduled_plan_id = encodeParam(scheduled_plan_id);
3380
- return _this388.get("/scheduled_plans/".concat(scheduled_plan_id), {
3403
+ return _this391.get("/scheduled_plans/".concat(scheduled_plan_id), {
3381
3404
  fields
3382
3405
  }, null, options);
3383
3406
  })();
3384
3407
  }
3385
3408
  update_scheduled_plan(scheduled_plan_id, body, options) {
3386
- var _this389 = this;
3409
+ var _this392 = this;
3387
3410
  return _asyncToGenerator(function* () {
3388
3411
  scheduled_plan_id = encodeParam(scheduled_plan_id);
3389
- return _this389.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
3412
+ return _this392.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
3390
3413
  })();
3391
3414
  }
3392
3415
  delete_scheduled_plan(scheduled_plan_id, options) {
3393
- var _this390 = this;
3416
+ var _this393 = this;
3394
3417
  return _asyncToGenerator(function* () {
3395
3418
  scheduled_plan_id = encodeParam(scheduled_plan_id);
3396
- return _this390.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
3419
+ return _this393.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
3397
3420
  })();
3398
3421
  }
3399
3422
  all_scheduled_plans(request, options) {
3400
- var _this391 = this;
3423
+ var _this394 = this;
3401
3424
  return _asyncToGenerator(function* () {
3402
- return _this391.get('/scheduled_plans', {
3425
+ return _this394.get('/scheduled_plans', {
3403
3426
  user_id: request.user_id,
3404
3427
  fields: request.fields,
3405
3428
  all_users: request.all_users
@@ -3407,21 +3430,21 @@ export class Looker40SDK extends APIMethods {
3407
3430
  })();
3408
3431
  }
3409
3432
  create_scheduled_plan(body, options) {
3410
- var _this392 = this;
3433
+ var _this395 = this;
3411
3434
  return _asyncToGenerator(function* () {
3412
- return _this392.post('/scheduled_plans', null, body, options);
3435
+ return _this395.post('/scheduled_plans', null, body, options);
3413
3436
  })();
3414
3437
  }
3415
3438
  scheduled_plan_run_once(body, options) {
3416
- var _this393 = this;
3439
+ var _this396 = this;
3417
3440
  return _asyncToGenerator(function* () {
3418
- return _this393.post('/scheduled_plans/run_once', null, body, options);
3441
+ return _this396.post('/scheduled_plans/run_once', null, body, options);
3419
3442
  })();
3420
3443
  }
3421
3444
  search_scheduled_plans(request, options) {
3422
- var _this394 = this;
3445
+ var _this397 = this;
3423
3446
  return _asyncToGenerator(function* () {
3424
- return _this394.get('/scheduled_plans/search', {
3447
+ return _this397.get('/scheduled_plans/search', {
3425
3448
  user_id: request.user_id,
3426
3449
  fields: request.fields,
3427
3450
  all_users: request.all_users,
@@ -3442,10 +3465,10 @@ export class Looker40SDK extends APIMethods {
3442
3465
  })();
3443
3466
  }
3444
3467
  scheduled_plans_for_look(request, options) {
3445
- var _this395 = this;
3468
+ var _this398 = this;
3446
3469
  return _asyncToGenerator(function* () {
3447
3470
  request.look_id = encodeParam(request.look_id);
3448
- return _this395.get("/scheduled_plans/look/".concat(request.look_id), {
3471
+ return _this398.get("/scheduled_plans/look/".concat(request.look_id), {
3449
3472
  user_id: request.user_id,
3450
3473
  fields: request.fields,
3451
3474
  all_users: request.all_users
@@ -3453,10 +3476,10 @@ export class Looker40SDK extends APIMethods {
3453
3476
  })();
3454
3477
  }
3455
3478
  scheduled_plans_for_dashboard(request, options) {
3456
- var _this396 = this;
3479
+ var _this399 = this;
3457
3480
  return _asyncToGenerator(function* () {
3458
3481
  request.dashboard_id = encodeParam(request.dashboard_id);
3459
- return _this396.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
3482
+ return _this399.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
3460
3483
  user_id: request.user_id,
3461
3484
  all_users: request.all_users,
3462
3485
  fields: request.fields
@@ -3464,10 +3487,10 @@ export class Looker40SDK extends APIMethods {
3464
3487
  })();
3465
3488
  }
3466
3489
  scheduled_plans_for_lookml_dashboard(request, options) {
3467
- var _this397 = this;
3490
+ var _this400 = this;
3468
3491
  return _asyncToGenerator(function* () {
3469
3492
  request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
3470
- return _this397.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
3493
+ return _this400.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
3471
3494
  user_id: request.user_id,
3472
3495
  fields: request.fields,
3473
3496
  all_users: request.all_users
@@ -3475,78 +3498,85 @@ export class Looker40SDK extends APIMethods {
3475
3498
  })();
3476
3499
  }
3477
3500
  scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
3478
- var _this398 = this;
3501
+ var _this401 = this;
3479
3502
  return _asyncToGenerator(function* () {
3480
3503
  scheduled_plan_id = encodeParam(scheduled_plan_id);
3481
- return _this398.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
3504
+ return _this401.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
3482
3505
  })();
3483
3506
  }
3484
3507
  get_self_service_model_allowed_connections(google_sheets, options) {
3485
- var _this399 = this;
3508
+ var _this402 = this;
3486
3509
  return _asyncToGenerator(function* () {
3487
- return _this399.get('/self_service_models/allowed_connections', {
3510
+ return _this402.get('/self_service_models/allowed_connections', {
3488
3511
  google_sheets
3489
3512
  }, null, options);
3490
3513
  })();
3491
3514
  }
3515
+ get_self_service_model_lookml(model_name, options) {
3516
+ var _this403 = this;
3517
+ return _asyncToGenerator(function* () {
3518
+ model_name = encodeParam(model_name);
3519
+ return _this403.get("/self_service_models/".concat(model_name, "/lookml"), null, null, options);
3520
+ })();
3521
+ }
3492
3522
  update_self_service_explore_certification(model_name, body, options) {
3493
- var _this400 = this;
3523
+ var _this404 = this;
3494
3524
  return _asyncToGenerator(function* () {
3495
3525
  model_name = encodeParam(model_name);
3496
- return _this400.patch("/self_service_models/".concat(model_name, "/certification"), null, body, options);
3526
+ return _this404.patch("/self_service_models/".concat(model_name, "/certification"), null, body, options);
3497
3527
  })();
3498
3528
  }
3499
3529
  session(options) {
3500
- var _this401 = this;
3530
+ var _this405 = this;
3501
3531
  return _asyncToGenerator(function* () {
3502
- return _this401.get('/session', null, null, options);
3532
+ return _this405.get('/session', null, null, options);
3503
3533
  })();
3504
3534
  }
3505
3535
  update_session(body, options) {
3506
- var _this402 = this;
3536
+ var _this406 = this;
3507
3537
  return _asyncToGenerator(function* () {
3508
- return _this402.patch('/session', null, body, options);
3538
+ return _this406.patch('/session', null, body, options);
3509
3539
  })();
3510
3540
  }
3511
3541
  sql_interface_metadata(avatica_request, options) {
3512
- var _this403 = this;
3542
+ var _this407 = this;
3513
3543
  return _asyncToGenerator(function* () {
3514
- return _this403.get('/sql_interface_queries/metadata', {
3544
+ return _this407.get('/sql_interface_queries/metadata', {
3515
3545
  avatica_request
3516
3546
  }, null, options);
3517
3547
  })();
3518
3548
  }
3519
3549
  run_sql_interface_query(query_id, result_format, options) {
3520
- var _this404 = this;
3550
+ var _this408 = this;
3521
3551
  return _asyncToGenerator(function* () {
3522
3552
  result_format = encodeParam(result_format);
3523
- return _this404.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
3553
+ return _this408.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
3524
3554
  })();
3525
3555
  }
3526
3556
  create_sql_interface_query(body, options) {
3527
- var _this405 = this;
3557
+ var _this409 = this;
3528
3558
  return _asyncToGenerator(function* () {
3529
- return _this405.post('/sql_interface_queries', null, body, options);
3559
+ return _this409.post('/sql_interface_queries', null, body, options);
3530
3560
  })();
3531
3561
  }
3532
3562
  all_themes(fields, options) {
3533
- var _this406 = this;
3563
+ var _this410 = this;
3534
3564
  return _asyncToGenerator(function* () {
3535
- return _this406.get('/themes', {
3565
+ return _this410.get('/themes', {
3536
3566
  fields
3537
3567
  }, null, options);
3538
3568
  })();
3539
3569
  }
3540
3570
  create_theme(body, options) {
3541
- var _this407 = this;
3571
+ var _this411 = this;
3542
3572
  return _asyncToGenerator(function* () {
3543
- return _this407.post('/themes', null, body, options);
3573
+ return _this411.post('/themes', null, body, options);
3544
3574
  })();
3545
3575
  }
3546
3576
  search_themes(request, options) {
3547
- var _this408 = this;
3577
+ var _this412 = this;
3548
3578
  return _asyncToGenerator(function* () {
3549
- return _this408.get('/themes/search', {
3579
+ return _this412.get('/themes/search', {
3550
3580
  id: request.id,
3551
3581
  name: request.name,
3552
3582
  begin_at: request.begin_at,
@@ -3561,73 +3591,92 @@ export class Looker40SDK extends APIMethods {
3561
3591
  })();
3562
3592
  }
3563
3593
  default_theme(ts, options) {
3564
- var _this409 = this;
3594
+ var _this413 = this;
3565
3595
  return _asyncToGenerator(function* () {
3566
- return _this409.get('/themes/default', {
3596
+ return _this413.get('/themes/default', {
3567
3597
  ts
3568
3598
  }, null, options);
3569
3599
  })();
3570
3600
  }
3571
3601
  set_default_theme(name, options) {
3572
- var _this410 = this;
3602
+ var _this414 = this;
3573
3603
  return _asyncToGenerator(function* () {
3574
- return _this410.put('/themes/default', {
3604
+ return _this414.put('/themes/default', {
3575
3605
  name
3576
3606
  }, null, options);
3577
3607
  })();
3578
3608
  }
3609
+ default_theme_by_type(theme_type, ts, options) {
3610
+ var _this415 = this;
3611
+ return _asyncToGenerator(function* () {
3612
+ return _this415.get('/themes/default_theme', {
3613
+ ts,
3614
+ theme_type
3615
+ }, null, options);
3616
+ })();
3617
+ }
3618
+ set_default_theme_by_type(name, theme_type, options) {
3619
+ var _this416 = this;
3620
+ return _asyncToGenerator(function* () {
3621
+ return _this416.put('/themes/default_theme', {
3622
+ name,
3623
+ theme_type
3624
+ }, null, options);
3625
+ })();
3626
+ }
3579
3627
  active_themes(request, options) {
3580
- var _this411 = this;
3628
+ var _this417 = this;
3581
3629
  return _asyncToGenerator(function* () {
3582
- return _this411.get('/themes/active', {
3630
+ return _this417.get('/themes/active', {
3583
3631
  name: request.name,
3584
3632
  ts: request.ts,
3633
+ theme_type: request.theme_type,
3585
3634
  fields: request.fields
3586
3635
  }, null, options);
3587
3636
  })();
3588
3637
  }
3589
3638
  theme_or_default(name, ts, options) {
3590
- var _this412 = this;
3639
+ var _this418 = this;
3591
3640
  return _asyncToGenerator(function* () {
3592
- return _this412.get('/themes/theme_or_default', {
3641
+ return _this418.get('/themes/theme_or_default', {
3593
3642
  name,
3594
3643
  ts
3595
3644
  }, null, options);
3596
3645
  })();
3597
3646
  }
3598
3647
  validate_theme(body, options) {
3599
- var _this413 = this;
3648
+ var _this419 = this;
3600
3649
  return _asyncToGenerator(function* () {
3601
- return _this413.post('/themes/validate', null, body, options);
3650
+ return _this419.post('/themes/validate', null, body, options);
3602
3651
  })();
3603
3652
  }
3604
3653
  theme(theme_id, fields, options) {
3605
- var _this414 = this;
3654
+ var _this420 = this;
3606
3655
  return _asyncToGenerator(function* () {
3607
3656
  theme_id = encodeParam(theme_id);
3608
- return _this414.get("/themes/".concat(theme_id), {
3657
+ return _this420.get("/themes/".concat(theme_id), {
3609
3658
  fields
3610
3659
  }, null, options);
3611
3660
  })();
3612
3661
  }
3613
3662
  update_theme(theme_id, body, options) {
3614
- var _this415 = this;
3663
+ var _this421 = this;
3615
3664
  return _asyncToGenerator(function* () {
3616
3665
  theme_id = encodeParam(theme_id);
3617
- return _this415.patch("/themes/".concat(theme_id), null, body, options);
3666
+ return _this421.patch("/themes/".concat(theme_id), null, body, options);
3618
3667
  })();
3619
3668
  }
3620
3669
  delete_theme(theme_id, options) {
3621
- var _this416 = this;
3670
+ var _this422 = this;
3622
3671
  return _asyncToGenerator(function* () {
3623
3672
  theme_id = encodeParam(theme_id);
3624
- return _this416.delete("/themes/".concat(theme_id), null, null, options);
3673
+ return _this422.delete("/themes/".concat(theme_id), null, null, options);
3625
3674
  })();
3626
3675
  }
3627
3676
  search_credentials_email(request, options) {
3628
- var _this417 = this;
3677
+ var _this423 = this;
3629
3678
  return _asyncToGenerator(function* () {
3630
- return _this417.get('/credentials_email/search', {
3679
+ return _this423.get('/credentials_email/search', {
3631
3680
  fields: request.fields,
3632
3681
  limit: request.limit,
3633
3682
  offset: request.offset,
@@ -3640,17 +3689,17 @@ export class Looker40SDK extends APIMethods {
3640
3689
  })();
3641
3690
  }
3642
3691
  me(fields, options) {
3643
- var _this418 = this;
3692
+ var _this424 = this;
3644
3693
  return _asyncToGenerator(function* () {
3645
- return _this418.get('/user', {
3694
+ return _this424.get('/user', {
3646
3695
  fields
3647
3696
  }, null, options);
3648
3697
  })();
3649
3698
  }
3650
3699
  all_users(request, options) {
3651
- var _this419 = this;
3700
+ var _this425 = this;
3652
3701
  return _asyncToGenerator(function* () {
3653
- return _this419.get('/users', {
3702
+ return _this425.get('/users', {
3654
3703
  fields: request.fields,
3655
3704
  page: request.page,
3656
3705
  per_page: request.per_page,
@@ -3662,17 +3711,17 @@ export class Looker40SDK extends APIMethods {
3662
3711
  })();
3663
3712
  }
3664
3713
  create_user(body, fields, options) {
3665
- var _this420 = this;
3714
+ var _this426 = this;
3666
3715
  return _asyncToGenerator(function* () {
3667
- return _this420.post('/users', {
3716
+ return _this426.post('/users', {
3668
3717
  fields
3669
3718
  }, body, options);
3670
3719
  })();
3671
3720
  }
3672
3721
  search_users(request, options) {
3673
- var _this421 = this;
3722
+ var _this427 = this;
3674
3723
  return _asyncToGenerator(function* () {
3675
- return _this421.get('/users/search', {
3724
+ return _this427.get('/users/search', {
3676
3725
  fields: request.fields,
3677
3726
  page: request.page,
3678
3727
  per_page: request.per_page,
@@ -3696,10 +3745,10 @@ export class Looker40SDK extends APIMethods {
3696
3745
  })();
3697
3746
  }
3698
3747
  search_users_names(request, options) {
3699
- var _this422 = this;
3748
+ var _this428 = this;
3700
3749
  return _asyncToGenerator(function* () {
3701
3750
  request.pattern = encodeParam(request.pattern);
3702
- return _this422.get("/users/search/names/".concat(request.pattern), {
3751
+ return _this428.get("/users/search/names/".concat(request.pattern), {
3703
3752
  fields: request.fields,
3704
3753
  page: request.page,
3705
3754
  per_page: request.per_page,
@@ -3716,329 +3765,329 @@ export class Looker40SDK extends APIMethods {
3716
3765
  })();
3717
3766
  }
3718
3767
  user(user_id, fields, options) {
3719
- var _this423 = this;
3768
+ var _this429 = this;
3720
3769
  return _asyncToGenerator(function* () {
3721
3770
  user_id = encodeParam(user_id);
3722
- return _this423.get("/users/".concat(user_id), {
3771
+ return _this429.get("/users/".concat(user_id), {
3723
3772
  fields
3724
3773
  }, null, options);
3725
3774
  })();
3726
3775
  }
3727
3776
  update_user(user_id, body, fields, options) {
3728
- var _this424 = this;
3777
+ var _this430 = this;
3729
3778
  return _asyncToGenerator(function* () {
3730
3779
  user_id = encodeParam(user_id);
3731
- return _this424.patch("/users/".concat(user_id), {
3780
+ return _this430.patch("/users/".concat(user_id), {
3732
3781
  fields
3733
3782
  }, body, options);
3734
3783
  })();
3735
3784
  }
3736
3785
  delete_user(user_id, options) {
3737
- var _this425 = this;
3786
+ var _this431 = this;
3738
3787
  return _asyncToGenerator(function* () {
3739
3788
  user_id = encodeParam(user_id);
3740
- return _this425.delete("/users/".concat(user_id), null, null, options);
3789
+ return _this431.delete("/users/".concat(user_id), null, null, options);
3741
3790
  })();
3742
3791
  }
3743
3792
  user_for_credential(credential_type, credential_id, fields, options) {
3744
- var _this426 = this;
3793
+ var _this432 = this;
3745
3794
  return _asyncToGenerator(function* () {
3746
3795
  credential_type = encodeParam(credential_type);
3747
3796
  credential_id = encodeParam(credential_id);
3748
- return _this426.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
3797
+ return _this432.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
3749
3798
  fields
3750
3799
  }, null, options);
3751
3800
  })();
3752
3801
  }
3753
3802
  update_service_account(user_id, body, fields, options) {
3754
- var _this427 = this;
3803
+ var _this433 = this;
3755
3804
  return _asyncToGenerator(function* () {
3756
3805
  user_id = encodeParam(user_id);
3757
- return _this427.patch("/users/service_accounts/".concat(user_id), {
3806
+ return _this433.patch("/users/service_accounts/".concat(user_id), {
3758
3807
  fields
3759
3808
  }, body, options);
3760
3809
  })();
3761
3810
  }
3762
3811
  delete_service_account(user_id, options) {
3763
- var _this428 = this;
3812
+ var _this434 = this;
3764
3813
  return _asyncToGenerator(function* () {
3765
3814
  user_id = encodeParam(user_id);
3766
- return _this428.delete("/users/service_accounts/".concat(user_id), null, null, options);
3815
+ return _this434.delete("/users/service_accounts/".concat(user_id), null, null, options);
3767
3816
  })();
3768
3817
  }
3769
3818
  user_credentials_email(user_id, fields, options) {
3770
- var _this429 = this;
3819
+ var _this435 = this;
3771
3820
  return _asyncToGenerator(function* () {
3772
3821
  user_id = encodeParam(user_id);
3773
- return _this429.get("/users/".concat(user_id, "/credentials_email"), {
3822
+ return _this435.get("/users/".concat(user_id, "/credentials_email"), {
3774
3823
  fields
3775
3824
  }, null, options);
3776
3825
  })();
3777
3826
  }
3778
3827
  create_user_credentials_email(user_id, body, fields, options) {
3779
- var _this430 = this;
3828
+ var _this436 = this;
3780
3829
  return _asyncToGenerator(function* () {
3781
3830
  user_id = encodeParam(user_id);
3782
- return _this430.post("/users/".concat(user_id, "/credentials_email"), {
3831
+ return _this436.post("/users/".concat(user_id, "/credentials_email"), {
3783
3832
  fields
3784
3833
  }, body, options);
3785
3834
  })();
3786
3835
  }
3787
3836
  update_user_credentials_email(user_id, body, fields, options) {
3788
- var _this431 = this;
3837
+ var _this437 = this;
3789
3838
  return _asyncToGenerator(function* () {
3790
3839
  user_id = encodeParam(user_id);
3791
- return _this431.patch("/users/".concat(user_id, "/credentials_email"), {
3840
+ return _this437.patch("/users/".concat(user_id, "/credentials_email"), {
3792
3841
  fields
3793
3842
  }, body, options);
3794
3843
  })();
3795
3844
  }
3796
3845
  delete_user_credentials_email(user_id, options) {
3797
- var _this432 = this;
3846
+ var _this438 = this;
3798
3847
  return _asyncToGenerator(function* () {
3799
3848
  user_id = encodeParam(user_id);
3800
- return _this432.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
3849
+ return _this438.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
3801
3850
  })();
3802
3851
  }
3803
3852
  user_credentials_totp(user_id, fields, options) {
3804
- var _this433 = this;
3853
+ var _this439 = this;
3805
3854
  return _asyncToGenerator(function* () {
3806
3855
  user_id = encodeParam(user_id);
3807
- return _this433.get("/users/".concat(user_id, "/credentials_totp"), {
3856
+ return _this439.get("/users/".concat(user_id, "/credentials_totp"), {
3808
3857
  fields
3809
3858
  }, null, options);
3810
3859
  })();
3811
3860
  }
3812
3861
  create_user_credentials_totp(user_id, body, fields, options) {
3813
- var _this434 = this;
3862
+ var _this440 = this;
3814
3863
  return _asyncToGenerator(function* () {
3815
3864
  user_id = encodeParam(user_id);
3816
- return _this434.post("/users/".concat(user_id, "/credentials_totp"), {
3865
+ return _this440.post("/users/".concat(user_id, "/credentials_totp"), {
3817
3866
  fields
3818
3867
  }, body, options);
3819
3868
  })();
3820
3869
  }
3821
3870
  delete_user_credentials_totp(user_id, options) {
3822
- var _this435 = this;
3871
+ var _this441 = this;
3823
3872
  return _asyncToGenerator(function* () {
3824
3873
  user_id = encodeParam(user_id);
3825
- return _this435.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
3874
+ return _this441.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
3826
3875
  })();
3827
3876
  }
3828
3877
  user_credentials_ldap(user_id, fields, options) {
3829
- var _this436 = this;
3878
+ var _this442 = this;
3830
3879
  return _asyncToGenerator(function* () {
3831
3880
  user_id = encodeParam(user_id);
3832
- return _this436.get("/users/".concat(user_id, "/credentials_ldap"), {
3881
+ return _this442.get("/users/".concat(user_id, "/credentials_ldap"), {
3833
3882
  fields
3834
3883
  }, null, options);
3835
3884
  })();
3836
3885
  }
3837
3886
  delete_user_credentials_ldap(user_id, options) {
3838
- var _this437 = this;
3887
+ var _this443 = this;
3839
3888
  return _asyncToGenerator(function* () {
3840
3889
  user_id = encodeParam(user_id);
3841
- return _this437.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
3890
+ return _this443.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
3842
3891
  })();
3843
3892
  }
3844
3893
  user_credentials_google(user_id, fields, options) {
3845
- var _this438 = this;
3894
+ var _this444 = this;
3846
3895
  return _asyncToGenerator(function* () {
3847
3896
  user_id = encodeParam(user_id);
3848
- return _this438.get("/users/".concat(user_id, "/credentials_google"), {
3897
+ return _this444.get("/users/".concat(user_id, "/credentials_google"), {
3849
3898
  fields
3850
3899
  }, null, options);
3851
3900
  })();
3852
3901
  }
3853
3902
  delete_user_credentials_google(user_id, options) {
3854
- var _this439 = this;
3903
+ var _this445 = this;
3855
3904
  return _asyncToGenerator(function* () {
3856
3905
  user_id = encodeParam(user_id);
3857
- return _this439.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
3906
+ return _this445.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
3858
3907
  })();
3859
3908
  }
3860
3909
  user_credentials_saml(user_id, fields, options) {
3861
- var _this440 = this;
3910
+ var _this446 = this;
3862
3911
  return _asyncToGenerator(function* () {
3863
3912
  user_id = encodeParam(user_id);
3864
- return _this440.get("/users/".concat(user_id, "/credentials_saml"), {
3913
+ return _this446.get("/users/".concat(user_id, "/credentials_saml"), {
3865
3914
  fields
3866
3915
  }, null, options);
3867
3916
  })();
3868
3917
  }
3869
3918
  delete_user_credentials_saml(user_id, options) {
3870
- var _this441 = this;
3919
+ var _this447 = this;
3871
3920
  return _asyncToGenerator(function* () {
3872
3921
  user_id = encodeParam(user_id);
3873
- return _this441.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
3922
+ return _this447.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
3874
3923
  })();
3875
3924
  }
3876
3925
  user_credentials_oidc(user_id, fields, options) {
3877
- var _this442 = this;
3926
+ var _this448 = this;
3878
3927
  return _asyncToGenerator(function* () {
3879
3928
  user_id = encodeParam(user_id);
3880
- return _this442.get("/users/".concat(user_id, "/credentials_oidc"), {
3929
+ return _this448.get("/users/".concat(user_id, "/credentials_oidc"), {
3881
3930
  fields
3882
3931
  }, null, options);
3883
3932
  })();
3884
3933
  }
3885
3934
  delete_user_credentials_oidc(user_id, options) {
3886
- var _this443 = this;
3935
+ var _this449 = this;
3887
3936
  return _asyncToGenerator(function* () {
3888
3937
  user_id = encodeParam(user_id);
3889
- return _this443.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
3938
+ return _this449.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
3890
3939
  })();
3891
3940
  }
3892
3941
  user_credentials_api3(user_id, credentials_api3_id, fields, options) {
3893
- var _this444 = this;
3942
+ var _this450 = this;
3894
3943
  return _asyncToGenerator(function* () {
3895
3944
  user_id = encodeParam(user_id);
3896
3945
  credentials_api3_id = encodeParam(credentials_api3_id);
3897
- return _this444.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
3946
+ return _this450.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
3898
3947
  fields
3899
3948
  }, null, options);
3900
3949
  })();
3901
3950
  }
3902
3951
  update_user_credentials_api3(user_id, credentials_api3_id, body, fields, options) {
3903
- var _this445 = this;
3952
+ var _this451 = this;
3904
3953
  return _asyncToGenerator(function* () {
3905
3954
  user_id = encodeParam(user_id);
3906
3955
  credentials_api3_id = encodeParam(credentials_api3_id);
3907
- return _this445.patch("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
3956
+ return _this451.patch("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
3908
3957
  fields
3909
3958
  }, body, options);
3910
3959
  })();
3911
3960
  }
3912
3961
  delete_user_credentials_api3(user_id, credentials_api3_id, options) {
3913
- var _this446 = this;
3962
+ var _this452 = this;
3914
3963
  return _asyncToGenerator(function* () {
3915
3964
  user_id = encodeParam(user_id);
3916
3965
  credentials_api3_id = encodeParam(credentials_api3_id);
3917
- return _this446.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
3966
+ return _this452.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
3918
3967
  })();
3919
3968
  }
3920
3969
  all_user_credentials_api3s(user_id, fields, options) {
3921
- var _this447 = this;
3970
+ var _this453 = this;
3922
3971
  return _asyncToGenerator(function* () {
3923
3972
  user_id = encodeParam(user_id);
3924
- return _this447.get("/users/".concat(user_id, "/credentials_api3"), {
3973
+ return _this453.get("/users/".concat(user_id, "/credentials_api3"), {
3925
3974
  fields
3926
3975
  }, null, options);
3927
3976
  })();
3928
3977
  }
3929
3978
  create_user_credentials_api3(user_id, fields, options) {
3930
- var _this448 = this;
3979
+ var _this454 = this;
3931
3980
  return _asyncToGenerator(function* () {
3932
3981
  user_id = encodeParam(user_id);
3933
- return _this448.post("/users/".concat(user_id, "/credentials_api3"), {
3982
+ return _this454.post("/users/".concat(user_id, "/credentials_api3"), {
3934
3983
  fields
3935
3984
  }, null, options);
3936
3985
  })();
3937
3986
  }
3938
3987
  user_credentials_embed(user_id, credentials_embed_id, fields, options) {
3939
- var _this449 = this;
3988
+ var _this455 = this;
3940
3989
  return _asyncToGenerator(function* () {
3941
3990
  user_id = encodeParam(user_id);
3942
3991
  credentials_embed_id = encodeParam(credentials_embed_id);
3943
- return _this449.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
3992
+ return _this455.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
3944
3993
  fields
3945
3994
  }, null, options);
3946
3995
  })();
3947
3996
  }
3948
3997
  delete_user_credentials_embed(user_id, credentials_embed_id, options) {
3949
- var _this450 = this;
3998
+ var _this456 = this;
3950
3999
  return _asyncToGenerator(function* () {
3951
4000
  user_id = encodeParam(user_id);
3952
4001
  credentials_embed_id = encodeParam(credentials_embed_id);
3953
- return _this450.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
4002
+ return _this456.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
3954
4003
  })();
3955
4004
  }
3956
4005
  all_user_credentials_embeds(user_id, fields, options) {
3957
- var _this451 = this;
4006
+ var _this457 = this;
3958
4007
  return _asyncToGenerator(function* () {
3959
4008
  user_id = encodeParam(user_id);
3960
- return _this451.get("/users/".concat(user_id, "/credentials_embed"), {
4009
+ return _this457.get("/users/".concat(user_id, "/credentials_embed"), {
3961
4010
  fields
3962
4011
  }, null, options);
3963
4012
  })();
3964
4013
  }
3965
4014
  user_credentials_looker_openid(user_id, fields, options) {
3966
- var _this452 = this;
4015
+ var _this458 = this;
3967
4016
  return _asyncToGenerator(function* () {
3968
4017
  user_id = encodeParam(user_id);
3969
- return _this452.get("/users/".concat(user_id, "/credentials_looker_openid"), {
4018
+ return _this458.get("/users/".concat(user_id, "/credentials_looker_openid"), {
3970
4019
  fields
3971
4020
  }, null, options);
3972
4021
  })();
3973
4022
  }
3974
4023
  delete_user_credentials_looker_openid(user_id, options) {
3975
- var _this453 = this;
4024
+ var _this459 = this;
3976
4025
  return _asyncToGenerator(function* () {
3977
4026
  user_id = encodeParam(user_id);
3978
- return _this453.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
4027
+ return _this459.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
3979
4028
  })();
3980
4029
  }
3981
4030
  user_session(user_id, session_id, fields, options) {
3982
- var _this454 = this;
4031
+ var _this460 = this;
3983
4032
  return _asyncToGenerator(function* () {
3984
4033
  user_id = encodeParam(user_id);
3985
4034
  session_id = encodeParam(session_id);
3986
- return _this454.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
4035
+ return _this460.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
3987
4036
  fields
3988
4037
  }, null, options);
3989
4038
  })();
3990
4039
  }
3991
4040
  delete_user_session(user_id, session_id, options) {
3992
- var _this455 = this;
4041
+ var _this461 = this;
3993
4042
  return _asyncToGenerator(function* () {
3994
4043
  user_id = encodeParam(user_id);
3995
4044
  session_id = encodeParam(session_id);
3996
- return _this455.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
4045
+ return _this461.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
3997
4046
  })();
3998
4047
  }
3999
4048
  all_user_sessions(user_id, fields, options) {
4000
- var _this456 = this;
4049
+ var _this462 = this;
4001
4050
  return _asyncToGenerator(function* () {
4002
4051
  user_id = encodeParam(user_id);
4003
- return _this456.get("/users/".concat(user_id, "/sessions"), {
4052
+ return _this462.get("/users/".concat(user_id, "/sessions"), {
4004
4053
  fields
4005
4054
  }, null, options);
4006
4055
  })();
4007
4056
  }
4008
4057
  create_user_credentials_email_password_reset(request, options) {
4009
- var _this457 = this;
4058
+ var _this463 = this;
4010
4059
  return _asyncToGenerator(function* () {
4011
4060
  request.user_id = encodeParam(request.user_id);
4012
- return _this457.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
4061
+ return _this463.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
4013
4062
  expires: request.expires,
4014
4063
  fields: request.fields
4015
4064
  }, null, options);
4016
4065
  })();
4017
4066
  }
4018
4067
  user_roles(request, options) {
4019
- var _this458 = this;
4068
+ var _this464 = this;
4020
4069
  return _asyncToGenerator(function* () {
4021
4070
  request.user_id = encodeParam(request.user_id);
4022
- return _this458.get("/users/".concat(request.user_id, "/roles"), {
4071
+ return _this464.get("/users/".concat(request.user_id, "/roles"), {
4023
4072
  fields: request.fields,
4024
4073
  direct_association_only: request.direct_association_only
4025
4074
  }, null, options);
4026
4075
  })();
4027
4076
  }
4028
4077
  set_user_roles(user_id, body, fields, options) {
4029
- var _this459 = this;
4078
+ var _this465 = this;
4030
4079
  return _asyncToGenerator(function* () {
4031
4080
  user_id = encodeParam(user_id);
4032
- return _this459.put("/users/".concat(user_id, "/roles"), {
4081
+ return _this465.put("/users/".concat(user_id, "/roles"), {
4033
4082
  fields
4034
4083
  }, body, options);
4035
4084
  })();
4036
4085
  }
4037
4086
  user_attribute_user_values(request, options) {
4038
- var _this460 = this;
4087
+ var _this466 = this;
4039
4088
  return _asyncToGenerator(function* () {
4040
4089
  request.user_id = encodeParam(request.user_id);
4041
- return _this460.get("/users/".concat(request.user_id, "/attribute_values"), {
4090
+ return _this466.get("/users/".concat(request.user_id, "/attribute_values"), {
4042
4091
  fields: request.fields,
4043
4092
  user_attribute_ids: request.user_attribute_ids,
4044
4093
  all_values: request.all_values,
@@ -4047,122 +4096,122 @@ export class Looker40SDK extends APIMethods {
4047
4096
  })();
4048
4097
  }
4049
4098
  set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
4050
- var _this461 = this;
4099
+ var _this467 = this;
4051
4100
  return _asyncToGenerator(function* () {
4052
4101
  user_id = encodeParam(user_id);
4053
4102
  user_attribute_id = encodeParam(user_attribute_id);
4054
- return _this461.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
4103
+ return _this467.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
4055
4104
  })();
4056
4105
  }
4057
4106
  delete_user_attribute_user_value(user_id, user_attribute_id, options) {
4058
- var _this462 = this;
4107
+ var _this468 = this;
4059
4108
  return _asyncToGenerator(function* () {
4060
4109
  user_id = encodeParam(user_id);
4061
4110
  user_attribute_id = encodeParam(user_attribute_id);
4062
- return _this462.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
4111
+ return _this468.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
4063
4112
  })();
4064
4113
  }
4065
4114
  send_user_credentials_email_password_reset(user_id, fields, options) {
4066
- var _this463 = this;
4115
+ var _this469 = this;
4067
4116
  return _asyncToGenerator(function* () {
4068
4117
  user_id = encodeParam(user_id);
4069
- return _this463.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
4118
+ return _this469.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
4070
4119
  fields
4071
4120
  }, null, options);
4072
4121
  })();
4073
4122
  }
4074
4123
  wipeout_user_emails(user_id, body, fields, options) {
4075
- var _this464 = this;
4124
+ var _this470 = this;
4076
4125
  return _asyncToGenerator(function* () {
4077
4126
  user_id = encodeParam(user_id);
4078
- return _this464.post("/users/".concat(user_id, "/update_emails"), {
4127
+ return _this470.post("/users/".concat(user_id, "/update_emails"), {
4079
4128
  fields
4080
4129
  }, body, options);
4081
4130
  })();
4082
4131
  }
4083
4132
  create_embed_user(body, options) {
4084
- var _this465 = this;
4133
+ var _this471 = this;
4085
4134
  return _asyncToGenerator(function* () {
4086
- return _this465.post('/users/embed_user', null, body, options);
4135
+ return _this471.post('/users/embed_user', null, body, options);
4087
4136
  })();
4088
4137
  }
4089
4138
  create_service_account(body, fields, options) {
4090
- var _this466 = this;
4139
+ var _this472 = this;
4091
4140
  return _asyncToGenerator(function* () {
4092
- return _this466.post('/users/service_accounts', {
4141
+ return _this472.post('/users/service_accounts', {
4093
4142
  fields
4094
4143
  }, body, options);
4095
4144
  })();
4096
4145
  }
4097
4146
  all_user_attributes(request, options) {
4098
- var _this467 = this;
4147
+ var _this473 = this;
4099
4148
  return _asyncToGenerator(function* () {
4100
- return _this467.get('/user_attributes', {
4149
+ return _this473.get('/user_attributes', {
4101
4150
  fields: request.fields,
4102
4151
  sorts: request.sorts
4103
4152
  }, null, options);
4104
4153
  })();
4105
4154
  }
4106
4155
  create_user_attribute(body, fields, options) {
4107
- var _this468 = this;
4156
+ var _this474 = this;
4108
4157
  return _asyncToGenerator(function* () {
4109
- return _this468.post('/user_attributes', {
4158
+ return _this474.post('/user_attributes', {
4110
4159
  fields
4111
4160
  }, body, options);
4112
4161
  })();
4113
4162
  }
4114
4163
  user_attribute(user_attribute_id, fields, options) {
4115
- var _this469 = this;
4164
+ var _this475 = this;
4116
4165
  return _asyncToGenerator(function* () {
4117
4166
  user_attribute_id = encodeParam(user_attribute_id);
4118
- return _this469.get("/user_attributes/".concat(user_attribute_id), {
4167
+ return _this475.get("/user_attributes/".concat(user_attribute_id), {
4119
4168
  fields
4120
4169
  }, null, options);
4121
4170
  })();
4122
4171
  }
4123
4172
  update_user_attribute(user_attribute_id, body, fields, options) {
4124
- var _this470 = this;
4173
+ var _this476 = this;
4125
4174
  return _asyncToGenerator(function* () {
4126
4175
  user_attribute_id = encodeParam(user_attribute_id);
4127
- return _this470.patch("/user_attributes/".concat(user_attribute_id), {
4176
+ return _this476.patch("/user_attributes/".concat(user_attribute_id), {
4128
4177
  fields
4129
4178
  }, body, options);
4130
4179
  })();
4131
4180
  }
4132
4181
  delete_user_attribute(user_attribute_id, options) {
4133
- var _this471 = this;
4182
+ var _this477 = this;
4134
4183
  return _asyncToGenerator(function* () {
4135
4184
  user_attribute_id = encodeParam(user_attribute_id);
4136
- return _this471.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
4185
+ return _this477.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
4137
4186
  })();
4138
4187
  }
4139
4188
  all_user_attribute_group_values(user_attribute_id, fields, options) {
4140
- var _this472 = this;
4189
+ var _this478 = this;
4141
4190
  return _asyncToGenerator(function* () {
4142
4191
  user_attribute_id = encodeParam(user_attribute_id);
4143
- return _this472.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
4192
+ return _this478.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
4144
4193
  fields
4145
4194
  }, null, options);
4146
4195
  })();
4147
4196
  }
4148
4197
  set_user_attribute_group_values(user_attribute_id, body, options) {
4149
- var _this473 = this;
4198
+ var _this479 = this;
4150
4199
  return _asyncToGenerator(function* () {
4151
4200
  user_attribute_id = encodeParam(user_attribute_id);
4152
- return _this473.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
4201
+ return _this479.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
4153
4202
  })();
4154
4203
  }
4155
4204
  all_workspaces(options) {
4156
- var _this474 = this;
4205
+ var _this480 = this;
4157
4206
  return _asyncToGenerator(function* () {
4158
- return _this474.get('/workspaces', null, null, options);
4207
+ return _this480.get('/workspaces', null, null, options);
4159
4208
  })();
4160
4209
  }
4161
4210
  workspace(workspace_id, options) {
4162
- var _this475 = this;
4211
+ var _this481 = this;
4163
4212
  return _asyncToGenerator(function* () {
4164
4213
  workspace_id = encodeParam(workspace_id);
4165
- return _this475.get("/workspaces/".concat(workspace_id), null, null, options);
4214
+ return _this481.get("/workspaces/".concat(workspace_id), null, null, options);
4166
4215
  })();
4167
4216
  }
4168
4217
  }