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