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