@looker/sdk 25.0.1 → 25.4.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 +21 -0
- package/lib/4.0/funcs.d.ts +2 -1
- package/lib/4.0/funcs.js +349 -327
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +2 -1
- package/lib/4.0/methods.js +238 -218
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +2 -1
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +67 -3
- package/lib/4.0/models.js +1 -0
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +2 -1
- package/lib/4.0/streams.js +238 -218
- 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 +347 -325
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +238 -218
- 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 +1 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +238 -218
- 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 +3 -3
package/lib/4.0/methods.js
CHANGED
|
@@ -176,7 +176,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
176
176
|
min_size: request.min_size,
|
|
177
177
|
max_size: request.max_size,
|
|
178
178
|
limit: request.limit,
|
|
179
|
-
offset: request.offset
|
|
179
|
+
offset: request.offset,
|
|
180
|
+
tally: request.tally
|
|
180
181
|
}, null, options);
|
|
181
182
|
})();
|
|
182
183
|
}
|
|
@@ -188,7 +189,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
188
189
|
key: request.key,
|
|
189
190
|
fields: request.fields,
|
|
190
191
|
limit: request.limit,
|
|
191
|
-
offset: request.offset
|
|
192
|
+
offset: request.offset,
|
|
193
|
+
tally: request.tally
|
|
192
194
|
}, null, options);
|
|
193
195
|
})();
|
|
194
196
|
}
|
|
@@ -2677,7 +2679,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2677
2679
|
path_prefix: request.path_prefix,
|
|
2678
2680
|
rebuild_pdts: request.rebuild_pdts,
|
|
2679
2681
|
server_table_calcs: request.server_table_calcs,
|
|
2680
|
-
source: request.source
|
|
2682
|
+
source: request.source,
|
|
2683
|
+
enable_oauth_error_response: request.enable_oauth_error_response
|
|
2681
2684
|
}, null, options);
|
|
2682
2685
|
})();
|
|
2683
2686
|
}
|
|
@@ -2697,7 +2700,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2697
2700
|
cache_only: request.cache_only,
|
|
2698
2701
|
path_prefix: request.path_prefix,
|
|
2699
2702
|
rebuild_pdts: request.rebuild_pdts,
|
|
2700
|
-
server_table_calcs: request.server_table_calcs
|
|
2703
|
+
server_table_calcs: request.server_table_calcs,
|
|
2704
|
+
enable_oauth_error_response: request.enable_oauth_error_response
|
|
2701
2705
|
}, request.body, options);
|
|
2702
2706
|
})();
|
|
2703
2707
|
}
|
|
@@ -2831,10 +2835,26 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2831
2835
|
}, null, options);
|
|
2832
2836
|
})();
|
|
2833
2837
|
}
|
|
2834
|
-
|
|
2838
|
+
search_reports(request, options) {
|
|
2835
2839
|
var _this330 = this;
|
|
2836
2840
|
return _asyncToGenerator(function* () {
|
|
2837
|
-
return _this330.get('/
|
|
2841
|
+
return _this330.get('/reports/search', {
|
|
2842
|
+
folder_id: request.folder_id,
|
|
2843
|
+
favorite: request.favorite,
|
|
2844
|
+
recent: request.recent,
|
|
2845
|
+
id: request.id,
|
|
2846
|
+
title: request.title,
|
|
2847
|
+
sorts: request.sorts,
|
|
2848
|
+
limit: request.limit,
|
|
2849
|
+
fields: request.fields,
|
|
2850
|
+
next_page_token: request.next_page_token
|
|
2851
|
+
}, null, options);
|
|
2852
|
+
})();
|
|
2853
|
+
}
|
|
2854
|
+
search_model_sets(request, options) {
|
|
2855
|
+
var _this331 = this;
|
|
2856
|
+
return _asyncToGenerator(function* () {
|
|
2857
|
+
return _this331.get('/model_sets/search', {
|
|
2838
2858
|
fields: request.fields,
|
|
2839
2859
|
limit: request.limit,
|
|
2840
2860
|
offset: request.offset,
|
|
@@ -2848,52 +2868,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2848
2868
|
})();
|
|
2849
2869
|
}
|
|
2850
2870
|
model_set(model_set_id, fields, options) {
|
|
2851
|
-
var
|
|
2871
|
+
var _this332 = this;
|
|
2852
2872
|
return _asyncToGenerator(function* () {
|
|
2853
2873
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2854
|
-
return
|
|
2874
|
+
return _this332.get("/model_sets/".concat(model_set_id), {
|
|
2855
2875
|
fields
|
|
2856
2876
|
}, null, options);
|
|
2857
2877
|
})();
|
|
2858
2878
|
}
|
|
2859
2879
|
update_model_set(model_set_id, body, options) {
|
|
2860
|
-
var
|
|
2880
|
+
var _this333 = this;
|
|
2861
2881
|
return _asyncToGenerator(function* () {
|
|
2862
2882
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2863
|
-
return
|
|
2883
|
+
return _this333.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2864
2884
|
})();
|
|
2865
2885
|
}
|
|
2866
2886
|
delete_model_set(model_set_id, options) {
|
|
2867
|
-
var
|
|
2887
|
+
var _this334 = this;
|
|
2868
2888
|
return _asyncToGenerator(function* () {
|
|
2869
2889
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2870
|
-
return
|
|
2890
|
+
return _this334.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2871
2891
|
})();
|
|
2872
2892
|
}
|
|
2873
2893
|
all_model_sets(fields, options) {
|
|
2874
|
-
var
|
|
2894
|
+
var _this335 = this;
|
|
2875
2895
|
return _asyncToGenerator(function* () {
|
|
2876
|
-
return
|
|
2896
|
+
return _this335.get('/model_sets', {
|
|
2877
2897
|
fields
|
|
2878
2898
|
}, null, options);
|
|
2879
2899
|
})();
|
|
2880
2900
|
}
|
|
2881
2901
|
create_model_set(body, options) {
|
|
2882
|
-
var
|
|
2902
|
+
var _this336 = this;
|
|
2883
2903
|
return _asyncToGenerator(function* () {
|
|
2884
|
-
return
|
|
2904
|
+
return _this336.post('/model_sets', null, body, options);
|
|
2885
2905
|
})();
|
|
2886
2906
|
}
|
|
2887
2907
|
all_permissions(options) {
|
|
2888
|
-
var
|
|
2908
|
+
var _this337 = this;
|
|
2889
2909
|
return _asyncToGenerator(function* () {
|
|
2890
|
-
return
|
|
2910
|
+
return _this337.get('/permissions', null, null, options);
|
|
2891
2911
|
})();
|
|
2892
2912
|
}
|
|
2893
2913
|
search_permission_sets(request, options) {
|
|
2894
|
-
var
|
|
2914
|
+
var _this338 = this;
|
|
2895
2915
|
return _asyncToGenerator(function* () {
|
|
2896
|
-
return
|
|
2916
|
+
return _this338.get('/permission_sets/search', {
|
|
2897
2917
|
fields: request.fields,
|
|
2898
2918
|
limit: request.limit,
|
|
2899
2919
|
offset: request.offset,
|
|
@@ -2907,61 +2927,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2907
2927
|
})();
|
|
2908
2928
|
}
|
|
2909
2929
|
permission_set(permission_set_id, fields, options) {
|
|
2910
|
-
var
|
|
2930
|
+
var _this339 = this;
|
|
2911
2931
|
return _asyncToGenerator(function* () {
|
|
2912
2932
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2913
|
-
return
|
|
2933
|
+
return _this339.get("/permission_sets/".concat(permission_set_id), {
|
|
2914
2934
|
fields
|
|
2915
2935
|
}, null, options);
|
|
2916
2936
|
})();
|
|
2917
2937
|
}
|
|
2918
2938
|
update_permission_set(permission_set_id, body, options) {
|
|
2919
|
-
var
|
|
2939
|
+
var _this340 = this;
|
|
2920
2940
|
return _asyncToGenerator(function* () {
|
|
2921
2941
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2922
|
-
return
|
|
2942
|
+
return _this340.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2923
2943
|
})();
|
|
2924
2944
|
}
|
|
2925
2945
|
delete_permission_set(permission_set_id, options) {
|
|
2926
|
-
var
|
|
2946
|
+
var _this341 = this;
|
|
2927
2947
|
return _asyncToGenerator(function* () {
|
|
2928
2948
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2929
|
-
return
|
|
2949
|
+
return _this341.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2930
2950
|
})();
|
|
2931
2951
|
}
|
|
2932
2952
|
all_permission_sets(fields, options) {
|
|
2933
|
-
var
|
|
2953
|
+
var _this342 = this;
|
|
2934
2954
|
return _asyncToGenerator(function* () {
|
|
2935
|
-
return
|
|
2955
|
+
return _this342.get('/permission_sets', {
|
|
2936
2956
|
fields
|
|
2937
2957
|
}, null, options);
|
|
2938
2958
|
})();
|
|
2939
2959
|
}
|
|
2940
2960
|
create_permission_set(body, options) {
|
|
2941
|
-
var
|
|
2961
|
+
var _this343 = this;
|
|
2942
2962
|
return _asyncToGenerator(function* () {
|
|
2943
|
-
return
|
|
2963
|
+
return _this343.post('/permission_sets', null, body, options);
|
|
2944
2964
|
})();
|
|
2945
2965
|
}
|
|
2946
2966
|
all_roles(request, options) {
|
|
2947
|
-
var
|
|
2967
|
+
var _this344 = this;
|
|
2948
2968
|
return _asyncToGenerator(function* () {
|
|
2949
|
-
return
|
|
2969
|
+
return _this344.get('/roles', {
|
|
2950
2970
|
fields: request.fields,
|
|
2951
2971
|
ids: request.ids
|
|
2952
2972
|
}, null, options);
|
|
2953
2973
|
})();
|
|
2954
2974
|
}
|
|
2955
2975
|
create_role(body, options) {
|
|
2956
|
-
var
|
|
2976
|
+
var _this345 = this;
|
|
2957
2977
|
return _asyncToGenerator(function* () {
|
|
2958
|
-
return
|
|
2978
|
+
return _this345.post('/roles', null, body, options);
|
|
2959
2979
|
})();
|
|
2960
2980
|
}
|
|
2961
2981
|
search_roles(request, options) {
|
|
2962
|
-
var
|
|
2982
|
+
var _this346 = this;
|
|
2963
2983
|
return _asyncToGenerator(function* () {
|
|
2964
|
-
return
|
|
2984
|
+
return _this346.get('/roles/search', {
|
|
2965
2985
|
fields: request.fields,
|
|
2966
2986
|
limit: request.limit,
|
|
2967
2987
|
offset: request.offset,
|
|
@@ -2975,9 +2995,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2975
2995
|
})();
|
|
2976
2996
|
}
|
|
2977
2997
|
search_roles_with_user_count(request, options) {
|
|
2978
|
-
var
|
|
2998
|
+
var _this347 = this;
|
|
2979
2999
|
return _asyncToGenerator(function* () {
|
|
2980
|
-
return
|
|
3000
|
+
return _this347.get('/roles/search/with_user_count', {
|
|
2981
3001
|
fields: request.fields,
|
|
2982
3002
|
limit: request.limit,
|
|
2983
3003
|
offset: request.offset,
|
|
@@ -2990,95 +3010,95 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2990
3010
|
})();
|
|
2991
3011
|
}
|
|
2992
3012
|
role(role_id, options) {
|
|
2993
|
-
var
|
|
3013
|
+
var _this348 = this;
|
|
2994
3014
|
return _asyncToGenerator(function* () {
|
|
2995
3015
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2996
|
-
return
|
|
3016
|
+
return _this348.get("/roles/".concat(role_id), null, null, options);
|
|
2997
3017
|
})();
|
|
2998
3018
|
}
|
|
2999
3019
|
update_role(role_id, body, options) {
|
|
3000
|
-
var
|
|
3020
|
+
var _this349 = this;
|
|
3001
3021
|
return _asyncToGenerator(function* () {
|
|
3002
3022
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3003
|
-
return
|
|
3023
|
+
return _this349.patch("/roles/".concat(role_id), null, body, options);
|
|
3004
3024
|
})();
|
|
3005
3025
|
}
|
|
3006
3026
|
delete_role(role_id, options) {
|
|
3007
|
-
var
|
|
3027
|
+
var _this350 = this;
|
|
3008
3028
|
return _asyncToGenerator(function* () {
|
|
3009
3029
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3010
|
-
return
|
|
3030
|
+
return _this350.delete("/roles/".concat(role_id), null, null, options);
|
|
3011
3031
|
})();
|
|
3012
3032
|
}
|
|
3013
3033
|
role_groups(role_id, fields, options) {
|
|
3014
|
-
var
|
|
3034
|
+
var _this351 = this;
|
|
3015
3035
|
return _asyncToGenerator(function* () {
|
|
3016
3036
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3017
|
-
return
|
|
3037
|
+
return _this351.get("/roles/".concat(role_id, "/groups"), {
|
|
3018
3038
|
fields
|
|
3019
3039
|
}, null, options);
|
|
3020
3040
|
})();
|
|
3021
3041
|
}
|
|
3022
3042
|
set_role_groups(role_id, body, options) {
|
|
3023
|
-
var
|
|
3043
|
+
var _this352 = this;
|
|
3024
3044
|
return _asyncToGenerator(function* () {
|
|
3025
3045
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3026
|
-
return
|
|
3046
|
+
return _this352.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3027
3047
|
})();
|
|
3028
3048
|
}
|
|
3029
3049
|
role_users(request, options) {
|
|
3030
|
-
var
|
|
3050
|
+
var _this353 = this;
|
|
3031
3051
|
return _asyncToGenerator(function* () {
|
|
3032
3052
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3033
|
-
return
|
|
3053
|
+
return _this353.get("/roles/".concat(request.role_id, "/users"), {
|
|
3034
3054
|
fields: request.fields,
|
|
3035
3055
|
direct_association_only: request.direct_association_only
|
|
3036
3056
|
}, null, options);
|
|
3037
3057
|
})();
|
|
3038
3058
|
}
|
|
3039
3059
|
set_role_users(role_id, body, options) {
|
|
3040
|
-
var
|
|
3060
|
+
var _this354 = this;
|
|
3041
3061
|
return _asyncToGenerator(function* () {
|
|
3042
3062
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3043
|
-
return
|
|
3063
|
+
return _this354.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3044
3064
|
})();
|
|
3045
3065
|
}
|
|
3046
3066
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3047
|
-
var
|
|
3067
|
+
var _this355 = this;
|
|
3048
3068
|
return _asyncToGenerator(function* () {
|
|
3049
3069
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3050
|
-
return
|
|
3070
|
+
return _this355.get("/scheduled_plans/space/".concat(space_id), {
|
|
3051
3071
|
fields
|
|
3052
3072
|
}, null, options);
|
|
3053
3073
|
})();
|
|
3054
3074
|
}
|
|
3055
3075
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3056
|
-
var
|
|
3076
|
+
var _this356 = this;
|
|
3057
3077
|
return _asyncToGenerator(function* () {
|
|
3058
3078
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3059
|
-
return
|
|
3079
|
+
return _this356.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3060
3080
|
fields
|
|
3061
3081
|
}, null, options);
|
|
3062
3082
|
})();
|
|
3063
3083
|
}
|
|
3064
3084
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3065
|
-
var
|
|
3085
|
+
var _this357 = this;
|
|
3066
3086
|
return _asyncToGenerator(function* () {
|
|
3067
3087
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3068
|
-
return
|
|
3088
|
+
return _this357.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3069
3089
|
})();
|
|
3070
3090
|
}
|
|
3071
3091
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3072
|
-
var
|
|
3092
|
+
var _this358 = this;
|
|
3073
3093
|
return _asyncToGenerator(function* () {
|
|
3074
3094
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3075
|
-
return
|
|
3095
|
+
return _this358.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3076
3096
|
})();
|
|
3077
3097
|
}
|
|
3078
3098
|
all_scheduled_plans(request, options) {
|
|
3079
|
-
var
|
|
3099
|
+
var _this359 = this;
|
|
3080
3100
|
return _asyncToGenerator(function* () {
|
|
3081
|
-
return
|
|
3101
|
+
return _this359.get('/scheduled_plans', {
|
|
3082
3102
|
user_id: request.user_id,
|
|
3083
3103
|
fields: request.fields,
|
|
3084
3104
|
all_users: request.all_users
|
|
@@ -3086,21 +3106,21 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3086
3106
|
})();
|
|
3087
3107
|
}
|
|
3088
3108
|
create_scheduled_plan(body, options) {
|
|
3089
|
-
var
|
|
3109
|
+
var _this360 = this;
|
|
3090
3110
|
return _asyncToGenerator(function* () {
|
|
3091
|
-
return
|
|
3111
|
+
return _this360.post('/scheduled_plans', null, body, options);
|
|
3092
3112
|
})();
|
|
3093
3113
|
}
|
|
3094
3114
|
scheduled_plan_run_once(body, options) {
|
|
3095
|
-
var
|
|
3115
|
+
var _this361 = this;
|
|
3096
3116
|
return _asyncToGenerator(function* () {
|
|
3097
|
-
return
|
|
3117
|
+
return _this361.post('/scheduled_plans/run_once', null, body, options);
|
|
3098
3118
|
})();
|
|
3099
3119
|
}
|
|
3100
3120
|
search_scheduled_plans(request, options) {
|
|
3101
|
-
var
|
|
3121
|
+
var _this362 = this;
|
|
3102
3122
|
return _asyncToGenerator(function* () {
|
|
3103
|
-
return
|
|
3123
|
+
return _this362.get('/scheduled_plans/search', {
|
|
3104
3124
|
user_id: request.user_id,
|
|
3105
3125
|
fields: request.fields,
|
|
3106
3126
|
all_users: request.all_users,
|
|
@@ -3121,10 +3141,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3121
3141
|
})();
|
|
3122
3142
|
}
|
|
3123
3143
|
scheduled_plans_for_look(request, options) {
|
|
3124
|
-
var
|
|
3144
|
+
var _this363 = this;
|
|
3125
3145
|
return _asyncToGenerator(function* () {
|
|
3126
3146
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3127
|
-
return
|
|
3147
|
+
return _this363.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3128
3148
|
user_id: request.user_id,
|
|
3129
3149
|
fields: request.fields,
|
|
3130
3150
|
all_users: request.all_users
|
|
@@ -3132,10 +3152,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3132
3152
|
})();
|
|
3133
3153
|
}
|
|
3134
3154
|
scheduled_plans_for_dashboard(request, options) {
|
|
3135
|
-
var
|
|
3155
|
+
var _this364 = this;
|
|
3136
3156
|
return _asyncToGenerator(function* () {
|
|
3137
3157
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3138
|
-
return
|
|
3158
|
+
return _this364.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3139
3159
|
user_id: request.user_id,
|
|
3140
3160
|
all_users: request.all_users,
|
|
3141
3161
|
fields: request.fields
|
|
@@ -3143,10 +3163,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3143
3163
|
})();
|
|
3144
3164
|
}
|
|
3145
3165
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3146
|
-
var
|
|
3166
|
+
var _this365 = this;
|
|
3147
3167
|
return _asyncToGenerator(function* () {
|
|
3148
3168
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3149
|
-
return
|
|
3169
|
+
return _this365.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3150
3170
|
user_id: request.user_id,
|
|
3151
3171
|
fields: request.fields,
|
|
3152
3172
|
all_users: request.all_users
|
|
@@ -3154,63 +3174,63 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3154
3174
|
})();
|
|
3155
3175
|
}
|
|
3156
3176
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3157
|
-
var
|
|
3177
|
+
var _this366 = this;
|
|
3158
3178
|
return _asyncToGenerator(function* () {
|
|
3159
3179
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3160
|
-
return
|
|
3180
|
+
return _this366.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3161
3181
|
})();
|
|
3162
3182
|
}
|
|
3163
3183
|
session(options) {
|
|
3164
|
-
var
|
|
3184
|
+
var _this367 = this;
|
|
3165
3185
|
return _asyncToGenerator(function* () {
|
|
3166
|
-
return
|
|
3186
|
+
return _this367.get('/session', null, null, options);
|
|
3167
3187
|
})();
|
|
3168
3188
|
}
|
|
3169
3189
|
update_session(body, options) {
|
|
3170
|
-
var
|
|
3190
|
+
var _this368 = this;
|
|
3171
3191
|
return _asyncToGenerator(function* () {
|
|
3172
|
-
return
|
|
3192
|
+
return _this368.patch('/session', null, body, options);
|
|
3173
3193
|
})();
|
|
3174
3194
|
}
|
|
3175
3195
|
sql_interface_metadata(avatica_request, options) {
|
|
3176
|
-
var
|
|
3196
|
+
var _this369 = this;
|
|
3177
3197
|
return _asyncToGenerator(function* () {
|
|
3178
|
-
return
|
|
3198
|
+
return _this369.get('/sql_interface_queries/metadata', {
|
|
3179
3199
|
avatica_request
|
|
3180
3200
|
}, null, options);
|
|
3181
3201
|
})();
|
|
3182
3202
|
}
|
|
3183
3203
|
run_sql_interface_query(query_id, result_format, options) {
|
|
3184
|
-
var
|
|
3204
|
+
var _this370 = this;
|
|
3185
3205
|
return _asyncToGenerator(function* () {
|
|
3186
3206
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3187
|
-
return
|
|
3207
|
+
return _this370.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3188
3208
|
})();
|
|
3189
3209
|
}
|
|
3190
3210
|
create_sql_interface_query(body, options) {
|
|
3191
|
-
var
|
|
3211
|
+
var _this371 = this;
|
|
3192
3212
|
return _asyncToGenerator(function* () {
|
|
3193
|
-
return
|
|
3213
|
+
return _this371.post('/sql_interface_queries', null, body, options);
|
|
3194
3214
|
})();
|
|
3195
3215
|
}
|
|
3196
3216
|
all_themes(fields, options) {
|
|
3197
|
-
var
|
|
3217
|
+
var _this372 = this;
|
|
3198
3218
|
return _asyncToGenerator(function* () {
|
|
3199
|
-
return
|
|
3219
|
+
return _this372.get('/themes', {
|
|
3200
3220
|
fields
|
|
3201
3221
|
}, null, options);
|
|
3202
3222
|
})();
|
|
3203
3223
|
}
|
|
3204
3224
|
create_theme(body, options) {
|
|
3205
|
-
var
|
|
3225
|
+
var _this373 = this;
|
|
3206
3226
|
return _asyncToGenerator(function* () {
|
|
3207
|
-
return
|
|
3227
|
+
return _this373.post('/themes', null, body, options);
|
|
3208
3228
|
})();
|
|
3209
3229
|
}
|
|
3210
3230
|
search_themes(request, options) {
|
|
3211
|
-
var
|
|
3231
|
+
var _this374 = this;
|
|
3212
3232
|
return _asyncToGenerator(function* () {
|
|
3213
|
-
return
|
|
3233
|
+
return _this374.get('/themes/search', {
|
|
3214
3234
|
id: request.id,
|
|
3215
3235
|
name: request.name,
|
|
3216
3236
|
begin_at: request.begin_at,
|
|
@@ -3224,25 +3244,25 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3224
3244
|
})();
|
|
3225
3245
|
}
|
|
3226
3246
|
default_theme(ts, options) {
|
|
3227
|
-
var
|
|
3247
|
+
var _this375 = this;
|
|
3228
3248
|
return _asyncToGenerator(function* () {
|
|
3229
|
-
return
|
|
3249
|
+
return _this375.get('/themes/default', {
|
|
3230
3250
|
ts
|
|
3231
3251
|
}, null, options);
|
|
3232
3252
|
})();
|
|
3233
3253
|
}
|
|
3234
3254
|
set_default_theme(name, options) {
|
|
3235
|
-
var
|
|
3255
|
+
var _this376 = this;
|
|
3236
3256
|
return _asyncToGenerator(function* () {
|
|
3237
|
-
return
|
|
3257
|
+
return _this376.put('/themes/default', {
|
|
3238
3258
|
name
|
|
3239
3259
|
}, null, options);
|
|
3240
3260
|
})();
|
|
3241
3261
|
}
|
|
3242
3262
|
active_themes(request, options) {
|
|
3243
|
-
var
|
|
3263
|
+
var _this377 = this;
|
|
3244
3264
|
return _asyncToGenerator(function* () {
|
|
3245
|
-
return
|
|
3265
|
+
return _this377.get('/themes/active', {
|
|
3246
3266
|
name: request.name,
|
|
3247
3267
|
ts: request.ts,
|
|
3248
3268
|
fields: request.fields
|
|
@@ -3250,47 +3270,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3250
3270
|
})();
|
|
3251
3271
|
}
|
|
3252
3272
|
theme_or_default(name, ts, options) {
|
|
3253
|
-
var
|
|
3273
|
+
var _this378 = this;
|
|
3254
3274
|
return _asyncToGenerator(function* () {
|
|
3255
|
-
return
|
|
3275
|
+
return _this378.get('/themes/theme_or_default', {
|
|
3256
3276
|
name,
|
|
3257
3277
|
ts
|
|
3258
3278
|
}, null, options);
|
|
3259
3279
|
})();
|
|
3260
3280
|
}
|
|
3261
3281
|
validate_theme(body, options) {
|
|
3262
|
-
var
|
|
3282
|
+
var _this379 = this;
|
|
3263
3283
|
return _asyncToGenerator(function* () {
|
|
3264
|
-
return
|
|
3284
|
+
return _this379.post('/themes/validate', null, body, options);
|
|
3265
3285
|
})();
|
|
3266
3286
|
}
|
|
3267
3287
|
theme(theme_id, fields, options) {
|
|
3268
|
-
var
|
|
3288
|
+
var _this380 = this;
|
|
3269
3289
|
return _asyncToGenerator(function* () {
|
|
3270
3290
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3271
|
-
return
|
|
3291
|
+
return _this380.get("/themes/".concat(theme_id), {
|
|
3272
3292
|
fields
|
|
3273
3293
|
}, null, options);
|
|
3274
3294
|
})();
|
|
3275
3295
|
}
|
|
3276
3296
|
update_theme(theme_id, body, options) {
|
|
3277
|
-
var
|
|
3297
|
+
var _this381 = this;
|
|
3278
3298
|
return _asyncToGenerator(function* () {
|
|
3279
3299
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3280
|
-
return
|
|
3300
|
+
return _this381.patch("/themes/".concat(theme_id), null, body, options);
|
|
3281
3301
|
})();
|
|
3282
3302
|
}
|
|
3283
3303
|
delete_theme(theme_id, options) {
|
|
3284
|
-
var
|
|
3304
|
+
var _this382 = this;
|
|
3285
3305
|
return _asyncToGenerator(function* () {
|
|
3286
3306
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3287
|
-
return
|
|
3307
|
+
return _this382.delete("/themes/".concat(theme_id), null, null, options);
|
|
3288
3308
|
})();
|
|
3289
3309
|
}
|
|
3290
3310
|
search_credentials_email(request, options) {
|
|
3291
|
-
var
|
|
3311
|
+
var _this383 = this;
|
|
3292
3312
|
return _asyncToGenerator(function* () {
|
|
3293
|
-
return
|
|
3313
|
+
return _this383.get('/credentials_email/search', {
|
|
3294
3314
|
fields: request.fields,
|
|
3295
3315
|
limit: request.limit,
|
|
3296
3316
|
offset: request.offset,
|
|
@@ -3303,17 +3323,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3303
3323
|
})();
|
|
3304
3324
|
}
|
|
3305
3325
|
me(fields, options) {
|
|
3306
|
-
var
|
|
3326
|
+
var _this384 = this;
|
|
3307
3327
|
return _asyncToGenerator(function* () {
|
|
3308
|
-
return
|
|
3328
|
+
return _this384.get('/user', {
|
|
3309
3329
|
fields
|
|
3310
3330
|
}, null, options);
|
|
3311
3331
|
})();
|
|
3312
3332
|
}
|
|
3313
3333
|
all_users(request, options) {
|
|
3314
|
-
var
|
|
3334
|
+
var _this385 = this;
|
|
3315
3335
|
return _asyncToGenerator(function* () {
|
|
3316
|
-
return
|
|
3336
|
+
return _this385.get('/users', {
|
|
3317
3337
|
fields: request.fields,
|
|
3318
3338
|
page: request.page,
|
|
3319
3339
|
per_page: request.per_page,
|
|
@@ -3325,17 +3345,17 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3325
3345
|
})();
|
|
3326
3346
|
}
|
|
3327
3347
|
create_user(body, fields, options) {
|
|
3328
|
-
var
|
|
3348
|
+
var _this386 = this;
|
|
3329
3349
|
return _asyncToGenerator(function* () {
|
|
3330
|
-
return
|
|
3350
|
+
return _this386.post('/users', {
|
|
3331
3351
|
fields
|
|
3332
3352
|
}, body, options);
|
|
3333
3353
|
})();
|
|
3334
3354
|
}
|
|
3335
3355
|
search_users(request, options) {
|
|
3336
|
-
var
|
|
3356
|
+
var _this387 = this;
|
|
3337
3357
|
return _asyncToGenerator(function* () {
|
|
3338
|
-
return
|
|
3358
|
+
return _this387.get('/users/search', {
|
|
3339
3359
|
fields: request.fields,
|
|
3340
3360
|
page: request.page,
|
|
3341
3361
|
per_page: request.per_page,
|
|
@@ -3356,10 +3376,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3356
3376
|
})();
|
|
3357
3377
|
}
|
|
3358
3378
|
search_users_names(request, options) {
|
|
3359
|
-
var
|
|
3379
|
+
var _this388 = this;
|
|
3360
3380
|
return _asyncToGenerator(function* () {
|
|
3361
3381
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3362
|
-
return
|
|
3382
|
+
return _this388.get("/users/search/names/".concat(request.pattern), {
|
|
3363
3383
|
fields: request.fields,
|
|
3364
3384
|
page: request.page,
|
|
3365
3385
|
per_page: request.per_page,
|
|
@@ -3376,303 +3396,303 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3376
3396
|
})();
|
|
3377
3397
|
}
|
|
3378
3398
|
user(user_id, fields, options) {
|
|
3379
|
-
var
|
|
3399
|
+
var _this389 = this;
|
|
3380
3400
|
return _asyncToGenerator(function* () {
|
|
3381
3401
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3382
|
-
return
|
|
3402
|
+
return _this389.get("/users/".concat(user_id), {
|
|
3383
3403
|
fields
|
|
3384
3404
|
}, null, options);
|
|
3385
3405
|
})();
|
|
3386
3406
|
}
|
|
3387
3407
|
update_user(user_id, body, fields, options) {
|
|
3388
|
-
var
|
|
3408
|
+
var _this390 = this;
|
|
3389
3409
|
return _asyncToGenerator(function* () {
|
|
3390
3410
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3391
|
-
return
|
|
3411
|
+
return _this390.patch("/users/".concat(user_id), {
|
|
3392
3412
|
fields
|
|
3393
3413
|
}, body, options);
|
|
3394
3414
|
})();
|
|
3395
3415
|
}
|
|
3396
3416
|
delete_user(user_id, options) {
|
|
3397
|
-
var
|
|
3417
|
+
var _this391 = this;
|
|
3398
3418
|
return _asyncToGenerator(function* () {
|
|
3399
3419
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3400
|
-
return
|
|
3420
|
+
return _this391.delete("/users/".concat(user_id), null, null, options);
|
|
3401
3421
|
})();
|
|
3402
3422
|
}
|
|
3403
3423
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3404
|
-
var
|
|
3424
|
+
var _this392 = this;
|
|
3405
3425
|
return _asyncToGenerator(function* () {
|
|
3406
3426
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3407
3427
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3408
|
-
return
|
|
3428
|
+
return _this392.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3409
3429
|
fields
|
|
3410
3430
|
}, null, options);
|
|
3411
3431
|
})();
|
|
3412
3432
|
}
|
|
3413
3433
|
user_credentials_email(user_id, fields, options) {
|
|
3414
|
-
var
|
|
3434
|
+
var _this393 = this;
|
|
3415
3435
|
return _asyncToGenerator(function* () {
|
|
3416
3436
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3417
|
-
return
|
|
3437
|
+
return _this393.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3418
3438
|
fields
|
|
3419
3439
|
}, null, options);
|
|
3420
3440
|
})();
|
|
3421
3441
|
}
|
|
3422
3442
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3423
|
-
var
|
|
3443
|
+
var _this394 = this;
|
|
3424
3444
|
return _asyncToGenerator(function* () {
|
|
3425
3445
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3426
|
-
return
|
|
3446
|
+
return _this394.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3427
3447
|
fields
|
|
3428
3448
|
}, body, options);
|
|
3429
3449
|
})();
|
|
3430
3450
|
}
|
|
3431
3451
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3432
|
-
var
|
|
3452
|
+
var _this395 = this;
|
|
3433
3453
|
return _asyncToGenerator(function* () {
|
|
3434
3454
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3435
|
-
return
|
|
3455
|
+
return _this395.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3436
3456
|
fields
|
|
3437
3457
|
}, body, options);
|
|
3438
3458
|
})();
|
|
3439
3459
|
}
|
|
3440
3460
|
delete_user_credentials_email(user_id, options) {
|
|
3441
|
-
var
|
|
3461
|
+
var _this396 = this;
|
|
3442
3462
|
return _asyncToGenerator(function* () {
|
|
3443
3463
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3444
|
-
return
|
|
3464
|
+
return _this396.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3445
3465
|
})();
|
|
3446
3466
|
}
|
|
3447
3467
|
user_credentials_totp(user_id, fields, options) {
|
|
3448
|
-
var
|
|
3468
|
+
var _this397 = this;
|
|
3449
3469
|
return _asyncToGenerator(function* () {
|
|
3450
3470
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3451
|
-
return
|
|
3471
|
+
return _this397.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3452
3472
|
fields
|
|
3453
3473
|
}, null, options);
|
|
3454
3474
|
})();
|
|
3455
3475
|
}
|
|
3456
3476
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3457
|
-
var
|
|
3477
|
+
var _this398 = this;
|
|
3458
3478
|
return _asyncToGenerator(function* () {
|
|
3459
3479
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3460
|
-
return
|
|
3480
|
+
return _this398.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3461
3481
|
fields
|
|
3462
3482
|
}, body, options);
|
|
3463
3483
|
})();
|
|
3464
3484
|
}
|
|
3465
3485
|
delete_user_credentials_totp(user_id, options) {
|
|
3466
|
-
var
|
|
3486
|
+
var _this399 = this;
|
|
3467
3487
|
return _asyncToGenerator(function* () {
|
|
3468
3488
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3469
|
-
return
|
|
3489
|
+
return _this399.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3470
3490
|
})();
|
|
3471
3491
|
}
|
|
3472
3492
|
user_credentials_ldap(user_id, fields, options) {
|
|
3473
|
-
var
|
|
3493
|
+
var _this400 = this;
|
|
3474
3494
|
return _asyncToGenerator(function* () {
|
|
3475
3495
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3476
|
-
return
|
|
3496
|
+
return _this400.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3477
3497
|
fields
|
|
3478
3498
|
}, null, options);
|
|
3479
3499
|
})();
|
|
3480
3500
|
}
|
|
3481
3501
|
delete_user_credentials_ldap(user_id, options) {
|
|
3482
|
-
var
|
|
3502
|
+
var _this401 = this;
|
|
3483
3503
|
return _asyncToGenerator(function* () {
|
|
3484
3504
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3485
|
-
return
|
|
3505
|
+
return _this401.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3486
3506
|
})();
|
|
3487
3507
|
}
|
|
3488
3508
|
user_credentials_google(user_id, fields, options) {
|
|
3489
|
-
var
|
|
3509
|
+
var _this402 = this;
|
|
3490
3510
|
return _asyncToGenerator(function* () {
|
|
3491
3511
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3492
|
-
return
|
|
3512
|
+
return _this402.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3493
3513
|
fields
|
|
3494
3514
|
}, null, options);
|
|
3495
3515
|
})();
|
|
3496
3516
|
}
|
|
3497
3517
|
delete_user_credentials_google(user_id, options) {
|
|
3498
|
-
var
|
|
3518
|
+
var _this403 = this;
|
|
3499
3519
|
return _asyncToGenerator(function* () {
|
|
3500
3520
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3501
|
-
return
|
|
3521
|
+
return _this403.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3502
3522
|
})();
|
|
3503
3523
|
}
|
|
3504
3524
|
user_credentials_saml(user_id, fields, options) {
|
|
3505
|
-
var
|
|
3525
|
+
var _this404 = this;
|
|
3506
3526
|
return _asyncToGenerator(function* () {
|
|
3507
3527
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3508
|
-
return
|
|
3528
|
+
return _this404.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3509
3529
|
fields
|
|
3510
3530
|
}, null, options);
|
|
3511
3531
|
})();
|
|
3512
3532
|
}
|
|
3513
3533
|
delete_user_credentials_saml(user_id, options) {
|
|
3514
|
-
var
|
|
3534
|
+
var _this405 = this;
|
|
3515
3535
|
return _asyncToGenerator(function* () {
|
|
3516
3536
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3517
|
-
return
|
|
3537
|
+
return _this405.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3518
3538
|
})();
|
|
3519
3539
|
}
|
|
3520
3540
|
user_credentials_oidc(user_id, fields, options) {
|
|
3521
|
-
var
|
|
3541
|
+
var _this406 = this;
|
|
3522
3542
|
return _asyncToGenerator(function* () {
|
|
3523
3543
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3524
|
-
return
|
|
3544
|
+
return _this406.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3525
3545
|
fields
|
|
3526
3546
|
}, null, options);
|
|
3527
3547
|
})();
|
|
3528
3548
|
}
|
|
3529
3549
|
delete_user_credentials_oidc(user_id, options) {
|
|
3530
|
-
var
|
|
3550
|
+
var _this407 = this;
|
|
3531
3551
|
return _asyncToGenerator(function* () {
|
|
3532
3552
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3533
|
-
return
|
|
3553
|
+
return _this407.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3534
3554
|
})();
|
|
3535
3555
|
}
|
|
3536
3556
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3537
|
-
var
|
|
3557
|
+
var _this408 = this;
|
|
3538
3558
|
return _asyncToGenerator(function* () {
|
|
3539
3559
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3540
3560
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3541
|
-
return
|
|
3561
|
+
return _this408.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3542
3562
|
fields
|
|
3543
3563
|
}, null, options);
|
|
3544
3564
|
})();
|
|
3545
3565
|
}
|
|
3546
3566
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3547
|
-
var
|
|
3567
|
+
var _this409 = this;
|
|
3548
3568
|
return _asyncToGenerator(function* () {
|
|
3549
3569
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3550
3570
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3551
|
-
return
|
|
3571
|
+
return _this409.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3552
3572
|
})();
|
|
3553
3573
|
}
|
|
3554
3574
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3555
|
-
var
|
|
3575
|
+
var _this410 = this;
|
|
3556
3576
|
return _asyncToGenerator(function* () {
|
|
3557
3577
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3558
|
-
return
|
|
3578
|
+
return _this410.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3559
3579
|
fields
|
|
3560
3580
|
}, null, options);
|
|
3561
3581
|
})();
|
|
3562
3582
|
}
|
|
3563
3583
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3564
|
-
var
|
|
3584
|
+
var _this411 = this;
|
|
3565
3585
|
return _asyncToGenerator(function* () {
|
|
3566
3586
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3567
|
-
return
|
|
3587
|
+
return _this411.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3568
3588
|
fields
|
|
3569
3589
|
}, null, options);
|
|
3570
3590
|
})();
|
|
3571
3591
|
}
|
|
3572
3592
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3573
|
-
var
|
|
3593
|
+
var _this412 = this;
|
|
3574
3594
|
return _asyncToGenerator(function* () {
|
|
3575
3595
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3576
3596
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3577
|
-
return
|
|
3597
|
+
return _this412.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3578
3598
|
fields
|
|
3579
3599
|
}, null, options);
|
|
3580
3600
|
})();
|
|
3581
3601
|
}
|
|
3582
3602
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3583
|
-
var
|
|
3603
|
+
var _this413 = this;
|
|
3584
3604
|
return _asyncToGenerator(function* () {
|
|
3585
3605
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3586
3606
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3587
|
-
return
|
|
3607
|
+
return _this413.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3588
3608
|
})();
|
|
3589
3609
|
}
|
|
3590
3610
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3591
|
-
var
|
|
3611
|
+
var _this414 = this;
|
|
3592
3612
|
return _asyncToGenerator(function* () {
|
|
3593
3613
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3594
|
-
return
|
|
3614
|
+
return _this414.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3595
3615
|
fields
|
|
3596
3616
|
}, null, options);
|
|
3597
3617
|
})();
|
|
3598
3618
|
}
|
|
3599
3619
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3600
|
-
var
|
|
3620
|
+
var _this415 = this;
|
|
3601
3621
|
return _asyncToGenerator(function* () {
|
|
3602
3622
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3603
|
-
return
|
|
3623
|
+
return _this415.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3604
3624
|
fields
|
|
3605
3625
|
}, null, options);
|
|
3606
3626
|
})();
|
|
3607
3627
|
}
|
|
3608
3628
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3609
|
-
var
|
|
3629
|
+
var _this416 = this;
|
|
3610
3630
|
return _asyncToGenerator(function* () {
|
|
3611
3631
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3612
|
-
return
|
|
3632
|
+
return _this416.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3613
3633
|
})();
|
|
3614
3634
|
}
|
|
3615
3635
|
user_session(user_id, session_id, fields, options) {
|
|
3616
|
-
var
|
|
3636
|
+
var _this417 = this;
|
|
3617
3637
|
return _asyncToGenerator(function* () {
|
|
3618
3638
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3619
3639
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3620
|
-
return
|
|
3640
|
+
return _this417.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3621
3641
|
fields
|
|
3622
3642
|
}, null, options);
|
|
3623
3643
|
})();
|
|
3624
3644
|
}
|
|
3625
3645
|
delete_user_session(user_id, session_id, options) {
|
|
3626
|
-
var
|
|
3646
|
+
var _this418 = this;
|
|
3627
3647
|
return _asyncToGenerator(function* () {
|
|
3628
3648
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3629
3649
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3630
|
-
return
|
|
3650
|
+
return _this418.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3631
3651
|
})();
|
|
3632
3652
|
}
|
|
3633
3653
|
all_user_sessions(user_id, fields, options) {
|
|
3634
|
-
var
|
|
3654
|
+
var _this419 = this;
|
|
3635
3655
|
return _asyncToGenerator(function* () {
|
|
3636
3656
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3637
|
-
return
|
|
3657
|
+
return _this419.get("/users/".concat(user_id, "/sessions"), {
|
|
3638
3658
|
fields
|
|
3639
3659
|
}, null, options);
|
|
3640
3660
|
})();
|
|
3641
3661
|
}
|
|
3642
3662
|
create_user_credentials_email_password_reset(request, options) {
|
|
3643
|
-
var
|
|
3663
|
+
var _this420 = this;
|
|
3644
3664
|
return _asyncToGenerator(function* () {
|
|
3645
3665
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3646
|
-
return
|
|
3666
|
+
return _this420.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3647
3667
|
expires: request.expires,
|
|
3648
3668
|
fields: request.fields
|
|
3649
3669
|
}, null, options);
|
|
3650
3670
|
})();
|
|
3651
3671
|
}
|
|
3652
3672
|
user_roles(request, options) {
|
|
3653
|
-
var
|
|
3673
|
+
var _this421 = this;
|
|
3654
3674
|
return _asyncToGenerator(function* () {
|
|
3655
3675
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3656
|
-
return
|
|
3676
|
+
return _this421.get("/users/".concat(request.user_id, "/roles"), {
|
|
3657
3677
|
fields: request.fields,
|
|
3658
3678
|
direct_association_only: request.direct_association_only
|
|
3659
3679
|
}, null, options);
|
|
3660
3680
|
})();
|
|
3661
3681
|
}
|
|
3662
3682
|
set_user_roles(user_id, body, fields, options) {
|
|
3663
|
-
var
|
|
3683
|
+
var _this422 = this;
|
|
3664
3684
|
return _asyncToGenerator(function* () {
|
|
3665
3685
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3666
|
-
return
|
|
3686
|
+
return _this422.put("/users/".concat(user_id, "/roles"), {
|
|
3667
3687
|
fields
|
|
3668
3688
|
}, body, options);
|
|
3669
3689
|
})();
|
|
3670
3690
|
}
|
|
3671
3691
|
user_attribute_user_values(request, options) {
|
|
3672
|
-
var
|
|
3692
|
+
var _this423 = this;
|
|
3673
3693
|
return _asyncToGenerator(function* () {
|
|
3674
3694
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3675
|
-
return
|
|
3695
|
+
return _this423.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3676
3696
|
fields: request.fields,
|
|
3677
3697
|
user_attribute_ids: request.user_attribute_ids,
|
|
3678
3698
|
all_values: request.all_values,
|
|
@@ -3681,114 +3701,114 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3681
3701
|
})();
|
|
3682
3702
|
}
|
|
3683
3703
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3684
|
-
var
|
|
3704
|
+
var _this424 = this;
|
|
3685
3705
|
return _asyncToGenerator(function* () {
|
|
3686
3706
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3687
3707
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3688
|
-
return
|
|
3708
|
+
return _this424.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3689
3709
|
})();
|
|
3690
3710
|
}
|
|
3691
3711
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3692
|
-
var
|
|
3712
|
+
var _this425 = this;
|
|
3693
3713
|
return _asyncToGenerator(function* () {
|
|
3694
3714
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3695
3715
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3696
|
-
return
|
|
3716
|
+
return _this425.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3697
3717
|
})();
|
|
3698
3718
|
}
|
|
3699
3719
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3700
|
-
var
|
|
3720
|
+
var _this426 = this;
|
|
3701
3721
|
return _asyncToGenerator(function* () {
|
|
3702
3722
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3703
|
-
return
|
|
3723
|
+
return _this426.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3704
3724
|
fields
|
|
3705
3725
|
}, null, options);
|
|
3706
3726
|
})();
|
|
3707
3727
|
}
|
|
3708
3728
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3709
|
-
var
|
|
3729
|
+
var _this427 = this;
|
|
3710
3730
|
return _asyncToGenerator(function* () {
|
|
3711
3731
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3712
|
-
return
|
|
3732
|
+
return _this427.post("/users/".concat(user_id, "/update_emails"), {
|
|
3713
3733
|
fields
|
|
3714
3734
|
}, body, options);
|
|
3715
3735
|
})();
|
|
3716
3736
|
}
|
|
3717
3737
|
create_embed_user(body, options) {
|
|
3718
|
-
var
|
|
3738
|
+
var _this428 = this;
|
|
3719
3739
|
return _asyncToGenerator(function* () {
|
|
3720
|
-
return
|
|
3740
|
+
return _this428.post('/users/embed_user', null, body, options);
|
|
3721
3741
|
})();
|
|
3722
3742
|
}
|
|
3723
3743
|
all_user_attributes(request, options) {
|
|
3724
|
-
var
|
|
3744
|
+
var _this429 = this;
|
|
3725
3745
|
return _asyncToGenerator(function* () {
|
|
3726
|
-
return
|
|
3746
|
+
return _this429.get('/user_attributes', {
|
|
3727
3747
|
fields: request.fields,
|
|
3728
3748
|
sorts: request.sorts
|
|
3729
3749
|
}, null, options);
|
|
3730
3750
|
})();
|
|
3731
3751
|
}
|
|
3732
3752
|
create_user_attribute(body, fields, options) {
|
|
3733
|
-
var
|
|
3753
|
+
var _this430 = this;
|
|
3734
3754
|
return _asyncToGenerator(function* () {
|
|
3735
|
-
return
|
|
3755
|
+
return _this430.post('/user_attributes', {
|
|
3736
3756
|
fields
|
|
3737
3757
|
}, body, options);
|
|
3738
3758
|
})();
|
|
3739
3759
|
}
|
|
3740
3760
|
user_attribute(user_attribute_id, fields, options) {
|
|
3741
|
-
var
|
|
3761
|
+
var _this431 = this;
|
|
3742
3762
|
return _asyncToGenerator(function* () {
|
|
3743
3763
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3744
|
-
return
|
|
3764
|
+
return _this431.get("/user_attributes/".concat(user_attribute_id), {
|
|
3745
3765
|
fields
|
|
3746
3766
|
}, null, options);
|
|
3747
3767
|
})();
|
|
3748
3768
|
}
|
|
3749
3769
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3750
|
-
var
|
|
3770
|
+
var _this432 = this;
|
|
3751
3771
|
return _asyncToGenerator(function* () {
|
|
3752
3772
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3753
|
-
return
|
|
3773
|
+
return _this432.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3754
3774
|
fields
|
|
3755
3775
|
}, body, options);
|
|
3756
3776
|
})();
|
|
3757
3777
|
}
|
|
3758
3778
|
delete_user_attribute(user_attribute_id, options) {
|
|
3759
|
-
var
|
|
3779
|
+
var _this433 = this;
|
|
3760
3780
|
return _asyncToGenerator(function* () {
|
|
3761
3781
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3762
|
-
return
|
|
3782
|
+
return _this433.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3763
3783
|
})();
|
|
3764
3784
|
}
|
|
3765
3785
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3766
|
-
var
|
|
3786
|
+
var _this434 = this;
|
|
3767
3787
|
return _asyncToGenerator(function* () {
|
|
3768
3788
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3769
|
-
return
|
|
3789
|
+
return _this434.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3770
3790
|
fields
|
|
3771
3791
|
}, null, options);
|
|
3772
3792
|
})();
|
|
3773
3793
|
}
|
|
3774
3794
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3775
|
-
var
|
|
3795
|
+
var _this435 = this;
|
|
3776
3796
|
return _asyncToGenerator(function* () {
|
|
3777
3797
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3778
|
-
return
|
|
3798
|
+
return _this435.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3779
3799
|
})();
|
|
3780
3800
|
}
|
|
3781
3801
|
all_workspaces(options) {
|
|
3782
|
-
var
|
|
3802
|
+
var _this436 = this;
|
|
3783
3803
|
return _asyncToGenerator(function* () {
|
|
3784
|
-
return
|
|
3804
|
+
return _this436.get('/workspaces', null, null, options);
|
|
3785
3805
|
})();
|
|
3786
3806
|
}
|
|
3787
3807
|
workspace(workspace_id, options) {
|
|
3788
|
-
var
|
|
3808
|
+
var _this437 = this;
|
|
3789
3809
|
return _asyncToGenerator(function* () {
|
|
3790
3810
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3791
|
-
return
|
|
3811
|
+
return _this437.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3792
3812
|
})();
|
|
3793
3813
|
}
|
|
3794
3814
|
}
|