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