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