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