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