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